home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / wssi525b.zip / WSSI525.DOC < prev   
Text File  |  1993-01-03  |  243KB  |  6,271 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                              Wssindex
  9.  
  10.                       Disk Indexing Software
  11.  
  12.                   Version 5.25 for MS/PC-DOS and
  13.        Wssindex/Extended Version 5.25 for AT Class Machines
  14.  
  15.  
  16.         Programs and documentation copyright (c) 1985-1993
  17.            by Robert W. Babcock and WSS Division of DDC
  18.                        All Rights Reserved
  19.  
  20.  
  21.                       +-------+
  22.                  +----+--+    |               (tm)
  23.                --+       |    +-------------------
  24.                  |  +----+--+ |  Association of
  25.                  |  |       +-+  Shareware
  26.                  +--+   o   |    Professionals
  27.                -----+   |   +---------------------
  28.                     +---+---+    MEMBER
  29.  
  30.                           License Terms
  31.  
  32. The shareware  version of  WSSINDEX and  associated files  may be
  33. freely  distributed  provided that  the  entire  package is  made
  34. available  and only  a reasonable  copying fee  is charged.   The
  35. shareware version  is fully functional but  displays a commercial
  36. message  on startup.  Purchasers of the complete package will re-
  37. ceive the shareware package, a replacement for WSSINDEX.EXE with-
  38. out  the opening  screen,  and instructions  for suppressing  the
  39. opening  screen  in future  shareware  releases.   Purchasers  of
  40. WSSINDEX/EXTENDED will also receive  a protected mode  executable
  41. and setup files.  Files not included in the shareware package are
  42. licensed for use by a single user,  or on one machine at a  time,
  43. and  are not  to  be distributed.   Site  license  users may,  of
  44. course,  use as many  copies as specified  in their  license.  If
  45. there  is any  question  about multiple  machines  or users,  the
  46. "like-a-book" rule applies: it should be impossible for more than
  47. the licensed number of copies to be used simultaneously.
  48.  
  49.                      90 Day Limited Warranty
  50.  
  51. The software in the complete package is warranted to perform sub-
  52. stantially as documented for a  period of 90 days from  your date
  53. of receipt.  The media on which either the complete or evaluation
  54. version  of this software is provided is warranted to be readable
  55. for 30 days.   All  other warranties relating  to this  software,
  56. whether expressed  or implied, are disclaimed.   Determination of
  57. the  suitability of this software for a particular purpose is the
  58. responsibility of the  user.  In no  event shall WSS  Division of
  59. DDC  or Robert  W. Babcock  be liable  for damages  exceeding the
  60. price paid to license this software.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                         Table of Contents
  74.  
  75. Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   1
  76.  
  77. Installation  . . . . . . . . . . . . . . . . . . . . . . . .   1
  78.  
  79. Wssindex/Extended Installation  . . . . . . . . . . . . . . .   2
  80.  
  81. Microsoft Windows Installation  . . . . . . . . . . . . . . .   3
  82.  
  83. Unlocking Demo Releases . . . . . . . . . . . . . . . . . . .   4
  84.  
  85. Overview and Tutorial . . . . . . . . . . . . . . . . . . . .   5
  86.  
  87. Setup and General Information . . . . . . . . . . . . . . . .   8
  88.  
  89. Starting up . . . . . . . . . . . . . . . . . . . . . . . . .   9
  90.  
  91. Pop-up File Selection . . . . . . . . . . . . . . . . . . . .  10
  92.  
  93. Command Defaults  . . . . . . . . . . . . . . . . . . . . . .  10
  94.  
  95. Aborting commands . . . . . . . . . . . . . . . . . . . . . .  10
  96.  
  97. The Dreaded Abort, Retry, Fail? . . . . . . . . . . . . . . .  10
  98.  
  99. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  11
  100.  
  101. Archive and Graphics Files  . . . . . . . . . . . . . . . . .  11
  102.     Archive Formats Supported . . . . . . . . . . . . . . . .  13
  103.     Graphics Formats Supported  . . . . . . . . . . . . . . .  14
  104.  
  105. Navigating through the menus  . . . . . . . . . . . . . . . .  14
  106.  
  107. Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . .  16
  108.     Add or label disks  . . . . . . . . . . . . . . . . . . .  17
  109.     Quick Find  . . . . . . . . . . . . . . . . . . . . . . .  17
  110.     Print and other output menu . . . . . . . . . . . . . . .  17
  111.     Write database on disk  . . . . . . . . . . . . . . . . .  17
  112.     Display statistics  . . . . . . . . . . . . . . . . . . .  17
  113.     List directory  . . . . . . . . . . . . . . . . . . . . .  18
  114.     Get or merge a database from disk . . . . . . . . . . . .  18
  115.     Get configuration file and matching database  . . . . . .  18
  116.     Change cOnfiguration  . . . . . . . . . . . . . . . . . .  19
  117.     Add/modify Comments . . . . . . . . . . . . . . . . . . .  19
  118.     Import comments . . . . . . . . . . . . . . . . . . . . .  19
  119.     ReName a disk in the database . . . . . . . . . . . . . .  20
  120.     ReName a disk with a mixed case label . . . . . . . . . .  21
  121.     Remove a disk from the database . . . . . . . . . . . . .  21
  122.     Remove all disks  . . . . . . . . . . . . . . . . . . . .  21
  123.     Purge duplicate Volumes . . . . . . . . . . . . . . . . .  21
  124.     Push to DOS . . . . . . . . . . . . . . . . . . . . . . .  21
  125.  
  126. Wssindex 5.25                   i               Table of Contents
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.     Quit and return to DOS  . . . . . . . . . . . . . . . . .  22
  140.     Quick Quit and return to DOS  . . . . . . . . . . . . . .  22
  141.  
  142. Print menu  . . . . . . . . . . . . . . . . . . . . . . . . .  22
  143.     Print (and sort)  . . . . . . . . . . . . . . . . . . . .  22
  144.     Find a file in the database . . . . . . . . . . . . . . .  26
  145.     Quick Find  . . . . . . . . . . . . . . . . . . . . . . .  26
  146.     Zippy text search . . . . . . . . . . . . . . . . . . . .  26
  147.     List Duplicate files  . . . . . . . . . . . . . . . . . .  27
  148.     List Unique files . . . . . . . . . . . . . . . . . . . .  27
  149.     List files which are not Backed up  . . . . . . . . . . .  27
  150.     List Volume names . . . . . . . . . . . . . . . . . . . .  28
  151.     Quick list of Volume names  . . . . . . . . . . . . . . .  28
  152.     Multi-column listings . . . . . . . . . . . . . . . . . .  29
  153.     MulTi-column listing  of duplicate, unique or  not backed
  154.         up files  . . . . . . . . . . . . . . . . . . . . . .  29
  155.     Disk Covers . . . . . . . . . . . . . . . . . . . . . . .  29
  156.     Disk Labels . . . . . . . . . . . . . . . . . . . . . . .  30
  157.     Read a printer definition file  . . . . . . . . . . . . .  31
  158.     COnfiguration menu  . . . . . . . . . . . . . . . . . . .  31
  159.     Return to main menu . . . . . . . . . . . . . . . . . . .  31
  160.  
  161. Indexing Menu . . . . . . . . . . . . . . . . . . . . . . . .  31
  162.     Start Indexing  . . . . . . . . . . . . . . . . . . . . .  32
  163.     Add Dummy entries . . . . . . . . . . . . . . . . . . . .  33
  164.     IndeX ignoring labels . . . . . . . . . . . . . . . . . .  33
  165.     List directory  . . . . . . . . . . . . . . . . . . . . .  33
  166.     Label a disk on the labeling drive  . . . . . . . . . . .  34
  167.     COnfiguration menu  . . . . . . . . . . . . . . . . . . .  34
  168.     Return to main menu . . . . . . . . . . . . . . . . . . .  34
  169.     First indexing drive  . . . . . . . . . . . . . . . . . .  34
  170.     Second indexing drive . . . . . . . . . . . . . . . . . .  34
  171.     LaBeling drive  . . . . . . . . . . . . . . . . . . . . .  34
  172.     Indexing sTarts from  . . . . . . . . . . . . . . . . . .  35
  173.     Auto-category strinG  . . . . . . . . . . . . . . . . . .  35
  174.     Ask before replacing  . . . . . . . . . . . . . . . . . .  35
  175.     Auto-Comment  . . . . . . . . . . . . . . . . . . . . . .  35
  176.     AUto-category . . . . . . . . . . . . . . . . . . . . . .  35
  177.     Make .ID entries  . . . . . . . . . . . . . . . . . . . .  35
  178.     DummY entries include subdirectory tree . . . . . . . . .  36
  179.     Query archive extraction  . . . . . . . . . . . . . . . .  36
  180.     Index Hidden files  . . . . . . . . . . . . . . . . . . .  36
  181.     Ignore bacKed up files  . . . . . . . . . . . . . . . . .  36
  182.     Extract archive comments  . . . . . . . . . . . . . . . .  36
  183.  
  184. Primary Configuration Menu  . . . . . . . . . . . . . . . . .  36
  185.     Printer configuration . . . . . . . . . . . . . . . . . .  37
  186.     SiZe limits . . . . . . . . . . . . . . . . . . . . . . .  37
  187.     Indexing options  . . . . . . . . . . . . . . . . . . . .  37
  188.     Screen, keyboard and Miscellaneous  . . . . . . . . . . .  37
  189.     Default sorting/selection options . . . . . . . . . . . .  37
  190.     Keyboard macros . . . . . . . . . . . . . . . . . . . . .  37
  191.  
  192. Wssindex 5.25                   ii              Table of Contents
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.     Configured Exception list . . . . . . . . . . . . . . . .  37
  206.     Which fields to print . . . . . . . . . . . . . . . . . .  38
  207.     Output Format . . . . . . . . . . . . . . . . . . . . . .  38
  208.     Load configuration file . . . . . . . . . . . . . . . . .  38
  209.     Save configuration file . . . . . . . . . . . . . . . . .  38
  210.     Return to previous menu . . . . . . . . . . . . . . . . .  39
  211.  
  212. Printer Configuration Menu  . . . . . . . . . . . . . . . . .  39
  213.     Paper Width to right margin . . . . . . . . . . . . . . .  39
  214.     Paper Length  . . . . . . . . . . . . . . . . . . . . . .  39
  215.     Left Margin . . . . . . . . . . . . . . . . . . . . . . .  40
  216.     Top margin  . . . . . . . . . . . . . . . . . . . . . . .  40
  217.     Bottom margin . . . . . . . . . . . . . . . . . . . . . .  40
  218.     Use Form feeds  . . . . . . . . . . . . . . . . . . . . .  40
  219.     Pause at page breaks  . . . . . . . . . . . . . . . . . .  40
  220.     Printer port Name . . . . . . . . . . . . . . . . . . . .  40
  221.     POstscript printer setup  . . . . . . . . . . . . . . . .  40
  222.  
  223. Postscript Printer Setup Menu . . . . . . . . . . . . . . . .  40
  224.     Use Postscript printer  . . . . . . . . . . . . . . . . .  40
  225.     Disk output also postscript . . . . . . . . . . . . . . .  41
  226.     Landscape output  . . . . . . . . . . . . . . . . . . . .  41
  227.     Font Size (points)  . . . . . . . . . . . . . . . . . . .  41
  228.     Extra line spacing (points) . . . . . . . . . . . . . . .  41
  229.     Database Size Limits  . . . . . . . . . . . . . . . . . .  41
  230.     Maximum number of Files . . . . . . . . . . . . . . . . .  42
  231.     Maximum number of Subdirectories  . . . . . . . . . . . .  42
  232.     Maximum number of Disks . . . . . . . . . . . . . . . . .  42
  233.     Allocate Memory . . . . . . . . . . . . . . . . . . . . .  42
  234.     Longest allowed Comment . . . . . . . . . . . . . . . . .  43
  235.     Longest allowed category  . . . . . . . . . . . . . . . .  43
  236.     Return to primary configuration menu  . . . . . . . . . .  43
  237.  
  238. Indexing Configuration Menu . . . . . . . . . . . . . . . . .  43
  239.     Indexing drive number . . . . . . . . . . . . . . . . . .  44
  240.     Make .ID entries  . . . . . . . . . . . . . . . . . . . .  44
  241.     Ask Before replacing  . . . . . . . . . . . . . . . . . .  44
  242.     Auto coMment  . . . . . . . . . . . . . . . . . . . . . .  44
  243.     Auto caTegory . . . . . . . . . . . . . . . . . . . . . .  44
  244.     Ask before eXtracting archive info  . . . . . . . . . . .  44
  245.     Extract comments from archive files . . . . . . . . . . .  44
  246.     Extract comments from 4DOS/NDOS description files . . . .  44
  247.     Auto cateGory string  . . . . . . . . . . . . . . . . . .  44
  248.     File extensions for Archive information extraction  . . .  45
  249.     File extensions for graPhics information extraction . . .  45
  250.  
  251. Archive file extraction configuration menu  . . . . . . . . .  45
  252.  
  253. Graphics file extraction configuration menu . . . . . . . . .  45
  254.     Extension for extraction  . . . . . . . . . . . . . . . .  45
  255.  
  256. Miscellaneous Configuration Menu  . . . . . . . . . . . . . .  46
  257.  
  258. Wssindex 5.25                  iii              Table of Contents
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.     Perform automatic inteGrity check . . . . . . . . . . . .  46
  272.     MaNual cursor motion in menus . . . . . . . . . . . . . .  47
  273.     Function key layout matching IBM  . . . . . . . . . . . .  47
  274.     Use BIOS to read Keyboard . . . . . . . . . . . . . . . .  48
  275.     Inverted meaning for PgUp/PgDn  . . . . . . . . . . . . .  48
  276.     Create .BAK files . . . . . . . . . . . . . . . . . . . .  48
  277.     Enable Alarm sound  . . . . . . . . . . . . . . . . . . .  48
  278.     Change Prompt in DOS shell  . . . . . . . . . . . . . . .  48
  279.     Strip High-bit when viewing files . . . . . . . . . . . .  48
  280.     Use color . . . . . . . . . . . . . . . . . . . . . . . .  49
  281.     Use Mouse . . . . . . . . . . . . . . . . . . . . . . . .  49
  282.     Mouse Sensitivity . . . . . . . . . . . . . . . . . . . .  49
  283.     Set Colors  . . . . . . . . . . . . . . . . . . . . . . .  49
  284.     Video board configuration . . . . . . . . . . . . . . . .  49
  285.     Return to primary configuration menu  . . . . . . . . . .  49
  286.  
  287. Default Sorting and Selection Options Menu  . . . . . . . . .  49
  288.     Selection list  . . . . . . . . . . . . . . . . . . . . .  50
  289.     Sort Keys . . . . . . . . . . . . . . . . . . . . . . . .  50
  290.     Return to previous menu . . . . . . . . . . . . . . . . .  50
  291.  
  292. Output Fields Configuration Menu  . . . . . . . . . . . . . .  50
  293.     DuPlicate flag  . . . . . . . . . . . . . . . . . . . . .  50
  294.     Size  . . . . . . . . . . . . . . . . . . . . . . . . . .  50
  295.     Date  . . . . . . . . . . . . . . . . . . . . . . . . . .  50
  296.     Time  . . . . . . . . . . . . . . . . . . . . . . . . . .  51
  297.     Seconds . . . . . . . . . . . . . . . . . . . . . . . . .  51
  298.     Volume  . . . . . . . . . . . . . . . . . . . . . . . . .  51
  299.     SuBdirectory  . . . . . . . . . . . . . . . . . . . . . .  51
  300.     Archive file name . . . . . . . . . . . . . . . . . . . .  51
  301.     Comment . . . . . . . . . . . . . . . . . . . . . . . . .  51
  302.     CateGory  . . . . . . . . . . . . . . . . . . . . . . . .  51
  303.  
  304. Output Format Configuration Menu  . . . . . . . . . . . . . .  51
  305.     Number of Blank lines between headers . . . . . . . . . .  52
  306.     Number of blank lines after Headers . . . . . . . . . . .  52
  307.     File name style . . . . . . . . . . . . . . . . . . . . .  52
  308.     Date style  . . . . . . . . . . . . . . . . . . . . . . .  52
  309.     Archive file delImiter  . . . . . . . . . . . . . . . . .  52
  310.     DeliMiter around first of comment/category  . . . . . . .  52
  311.     Field width for Subdirectories  . . . . . . . . . . . . .  52
  312.     Field width for Archive name  . . . . . . . . . . . . . .  52
  313.     Field width for Comment or category . . . . . . . . . . .  52
  314.     Print comments bEfore categories  . . . . . . . . . . . .  53
  315.     Always start New line for comment/category  . . . . . . .  53
  316.     MaX wrapped print lines per file  . . . . . . . . . . . .  53
  317.     Return to primary configuration menu  . . . . . . . . . .  53
  318.  
  319. Video Board Configuration . . . . . . . . . . . . . . . . . .  53
  320.     Screen writing method . . . . . . . . . . . . . . . . . .  54
  321.     Use DOS calls for prompts (for screen readers)  . . . . .  54
  322.     Suppress snoW on CGA  . . . . . . . . . . . . . . . . . .  55
  323.  
  324. Wssindex 5.25                   iv              Table of Contents
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.     Raw Mode on screen output . . . . . . . . . . . . . . . .  55
  338.     Use BIOS call to set screen size  . . . . . . . . . . . .  55
  339.     AX value for BIOS call  . . . . . . . . . . . . . . . . .  55
  340.     BX value for BIOS call  . . . . . . . . . . . . . . . . .  55
  341.     Screen wIdth  . . . . . . . . . . . . . . . . . . . . . .  55
  342.     Screen Height . . . . . . . . . . . . . . . . . . . . . .  55
  343.     AX value for BIOS call on exit or push-to-DOS . . . . . .  55
  344.     BX Value for BIOS call on exit or push-to-DOS . . . . . .  55
  345.     Return to previous menu . . . . . . . . . . . . . . . . .  55
  346.  
  347. Color Selection Menu  . . . . . . . . . . . . . . . . . . . .  55
  348.  
  349. The Add-Comments Menu . . . . . . . . . . . . . . . . . . . .  56
  350.  
  351. WSSINDEX Utilities  . . . . . . . . . . . . . . . . . . . . .  60
  352.     IDADD Conversion Utility  . . . . . . . . . . . . . . . .  61
  353.     WSSMERGE Database Merging Utility . . . . . . . . . . . .  61
  354.     SPLIT Database Splitting Utility  . . . . . . . . . . . .  62
  355.     Database Conversion Utilities . . . . . . . . . . . . . .  63
  356.  
  357. Problems and Solutions  . . . . . . . . . . . . . . . . . . .  64
  358.     Hard/software requirements  . . . . . . . . . . . . . . .  64
  359.     Known incompatibilities with other software . . . . . . .  64
  360.         Disk Cache Warning  . . . . . . . . . . . . . . . . .  64
  361.         Incompatible TSR  . . . . . . . . . . . . . . . . . .  65
  362.     Answers to Common Questions . . . . . . . . . . . . . . .  65
  363.  
  364. Command Line Parameter Summary  . . . . . . . . . . . . . . .  68
  365.  
  366. Support . . . . . . . . . . . . . . . . . . . . . . . . . . .  68
  367.  
  368. The Distribution Package  . . . . . . . . . . . . . . . . . .  69
  369.  
  370. Ordering Information  . . . . . . . . . . . . . . . . . . . .  71
  371.     WSSINDEX Price schedule . . . . . . . . . . . . . . . . .  71
  372.     WSSINDEX ORDER FORM . . . . . . . . . . . . . . . . . . .  74
  373.  
  374. Appendix A - Forcing Video Board Type if Autodetection Fails   75
  375.  
  376. Appendix B - ANSI.SYS Screen Driver . . . . . . . . . . . . .  76
  377.  
  378. Appendix C - Expanding the DOS Environment  . . . . . . . . .  77
  379.  
  380. Appendix D - WSSINDEX Database Format . . . . . . . . . . . .  78
  381.  
  382. Appendix E - Printer Definition Files . . . . . . . . . . . .  79
  383.  
  384. Appendix F - Character Code Conversion Table  . . . . . . . .  84
  385.  
  386. Appendix G - WSSINDEX for DEC Rainbow . . . . . . . . . . . .  85
  387.  
  388. Appendix H - WSSINDEX for TI Professional . . . . . . . . . .  86
  389.  
  390. Wssindex 5.25                   v               Table of Contents
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403. Appendix I - Parameters for setting screen sizes  . . . . . .  87
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456. Wssindex 5.25                   vi              Table of Contents
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.                            Introduction
  470.  
  471. Have you ever  had to  search through dozens  of disks trying  to
  472. find a  program or data  file which  you knew you  had somewhere?
  473. WSSINDEX.EXE is a program  designed to help keep track  of MS-DOS
  474. files  stored on  floppy or hard  disks.   A database  is created
  475. which  contains, for all of  your disks, the information normally
  476. available  from the DOS DIR command, as well as optional comments
  477. and categories  describing  each file.   The  information in  the
  478. database may be printed  with various sorting options, or  may be
  479. searched  for specific  file names  with wild  cards in  case you
  480. don't remember the exact  name of the  file you are looking  for.
  481. Additional functions include listing files without current backup
  482. copies and  extracting  directory information  from  archive  and
  483. graphics files of various types.  Don't be frightened by the size
  484. of  this documentation.   The program is menu  driven and easy to
  485. use without referring  to the  documentation.  Mostly  this is  a
  486. reference manual to use when the details of some program function
  487. aren't clear.  If you are a new user, you should read the Instal-
  488. lation, Overview and Tutorial sections.
  489.  
  490.                            Installation
  491.  
  492. Before you do anything else,  make sure that the disk(s)  you re-
  493. ceived are write  protected, and  then make at  least one  backup
  494. copy.   The disks are not  copy protected.  WSSINDEX  and related
  495. routines, including a machine readable version of this documenta-
  496. tion file,  are  shipped as  compressed,  self-extracting  files.
  497. This  lowers the number of  disks required, and  also provides an
  498. automatic check during the installation that the disk(s) have not
  499. been damaged.  The steps required for program extraction may vary
  500. from release to release; you will find an instruction sheet pack-
  501. aged with the distribution disks.
  502.  
  503. The extracted files generally include  the version number as part
  504. of the file  name.   For example, the  main program  WSSINDEX.EXE
  505. becomes WSSI525.EXE.   To  avoid  confusion, I  suggest that  you
  506. rename  the  executable  files  to  WSSINDEX,  IDADD,  SPLIT  and
  507. WSSMERGE (.EXE  in all cases).   If you are running  DOS 2.x, you
  508. must rename the program files this way if you want  to use either
  509. the overlaid version  of WSSINDEX or the virus checking code.  Of
  510. course, you can  name the files whatever you like,  but the above
  511. numbers  will  be  used   throughout  this  documentation.    The
  512. WSSINDEX/Extended executable is named WSDPM525.EXE; the suggested
  513. generic name  is WSSIDPM.EXE.   Since WSSINDEX/Extended  does not
  514. run  under DOS 2.x, the integrity check does not require renaming
  515. the executable.
  516.  
  517. All purchasers receive the  shareware evaluation version which is
  518. fully functional, but the main program, WSSINDEX.EXE, displays an
  519. opening  commercial.  The evaluation routine has a "D" (for demo)
  520. as the last  character of the file name, i.e. WSSI525D.EXE  (Note
  521.  
  522. Wssindex 5.25                   1                    Introduction
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535. that the file names vary slightly for the DEC Rainbow  and TI Pro
  536. versions.  Generally, a single letter is appended, and where this
  537. makes the file name  longer than 8 characters, another  letter is
  538. dropped.)   If  you  purchased the  complete package,  additional
  539. self-extracting files are  included which contain WSSI525.EXE,  a
  540. replacement   executable   without   the   opening   screen   and
  541. WSSI525.DOC, this documentation in ascii format.
  542.  
  543.                   Wssindex/Extended Installation
  544.  
  545. The  extended version  of Wssindex  uses a DOS  extender licensed
  546. from  Ergo Computing to  allow access to  up to 16MB  of extended
  547. memory with  an 80286, 80386 or 80486 CPU.  This requires switch-
  548. ing the CPU into what is called "protected mode".  However, it is
  549. necessary  to switch back to "real mode" before any DOS functions
  550. can  be used.   Since  Intel originally  envisioned that  the 286
  551. would be used with  an operating system which switched  into pro-
  552. tected  mode immediately and never came back, getting out of pro-
  553. tected mode was  made very  difficult.  But  MS-DOS has  remained
  554. popular, so motherboard manufacturers have used various tricks to
  555. allow switching back to real mode.  Generally these involve send-
  556. ing  a  special command  to the  keyboard controller,  which then
  557. sends a reset to the CPU.
  558.  
  559. The significance of all this is that the DOS extender has to test
  560. your system to find out which  way of switching back to real mode
  561. works  best.  This  testing is done  once using  a program called
  562. TUNE which  stores its results in the  protected mode executable.
  563. If TUNE tries something which doesn't work with your hardware, it
  564. may crash  your system,  probably disabling  the keyboard  in the
  565. process.   If  this happens,  use your  hardware reset  button or
  566. power switch to reboot  and try again.  TUNE writes  a checkpoint
  567. file and will continue from the point of failure.  If you have an
  568. expanded  memory manager  such  as QEMM  or 386-to-the-Max  which
  569. supports  the VCPI standard, TUNE  will detect this  and tell you
  570. that no tuning is  necessary.  TUNE has  an internal database  of
  571. common  machines and may recognize  your machine and  not need to
  572. run any  tests.  TUNE  may also generate  a small file  with your
  573. machine configuration  and ask you to upload  it to the Ergo Com-
  574. puting BBS.   Of course,  doing this is  optional, especially  if
  575. TUNE  did not crash your  machine.  TUNE  configuration files can
  576. also be sent to WSS/DDC for forwarding to Ergo.
  577.  
  578. Instructions   for   running   TUNE   are   included   with   the
  579. Wssindex/Extended disk.  Basically, you type
  580.  
  581.     TUNE -k filename
  582.  
  583. where filename is  WSDPM525.EXE (if not  renamed) and follow  the
  584. screen prompts.  TUNE'ing a 386  or 486 is usually a quick, pain-
  585. less task, but 286  processors are sometimes a problem.   If TUNE
  586. reports that it  is unable  to characterize your  machine, or  is
  587.  
  588. Wssindex 5.25                   2                    Installation
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601. unable  to  control the  A20 line,  try  again with  a simplified
  602. CONFIG.SYS  file.  286 expanded  memory drivers may  to be incom-
  603. patible with the Ergo extender (but XMS drivers are usually help-
  604. ful).  If all else fails, try the command
  605.  
  606.     TUNE -f 0/0/0/2/2 -k filename
  607.  
  608. This  writes generic  286 tuning  parameters into  the executable
  609. without running any tests.  Then try running WSDPM525.EXE; if you
  610. are lucky, it may work.
  611.  
  612.                   Microsoft Windows Installation
  613.  
  614. The DOS version of Wssindex requires no special  installation for
  615. running under  Windows 3.0  or 3.1 (earlier  versions of  Windows
  616. have not been tested).  From the program manager click on
  617.  
  618.     File
  619.     New
  620.     Program Item (OK)
  621.  
  622. and  enter the program name  (with a full path  if not on the DOS
  623. path) in the command line field, and the directory where you wish
  624. to store database files in the working directory field.
  625.  
  626. To install  Wssindex/Extended under  Windows, proceed as  for the
  627. DOS version, but instead  of entering the program name  and path,
  628. enter the name of a Program Information File (PIF).  A sample PIF
  629. file with the name  WSDPM525.PIF is included in the  distribution
  630. package.  The PIF file includes  the path C:\WSSINDEX and an  8MB
  631. XMS memory  limit.   These can  be changed  with the  Windows PIF
  632. editor.   Windows 3.1 in 386 enhanced mode provides virtual memo-
  633. ry,  so database  size is  limited by  a combination  of physical
  634. memory and disk swap space.
  635.  
  636. Wssindex/Extended requires that file LABELDLL.DLL be available on
  637. the DOS  PATH or in the  current directory.  If this  file is not
  638. found,  you will get  an error  message, but  if you  are running
  639. under Windows, the message may be cleared from the before you can
  640. read it.
  641.  
  642. One  software combination which is not guaranteed to work is QEMM
  643. plus Windows 3.0 in standard mode plus Wssindex/Extended.  Alter-
  644. natives  are to replace QEMM  with HIMEM.SYS, run  Windows 3.0 in
  645. 386  enhanced mode,  run Windows  3.1  in any  mode, or  only run
  646. Wssindex/Extended under DOS.
  647.  
  648.                         OS/2 Installation
  649.  
  650. Wssindex runs in a DOS window under OS/2 2.0 (earlier versions of
  651. OS/2 have  not been tested).   Neither the  DOS nor the  Extended
  652. versions  know about the long  file names possible  with the High
  653.  
  654. Wssindex 5.25                   3                    Installation
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667. Performance File System.  DOS settings for Wssindex/Extended must
  668. set the  DPMI_DOS_API to  enabled; the  default  setting of  AUTO
  669. doesn't work.   The  DPMI_MEMORY_LIMIT setting controls  how much
  670. memory is available for database storage.   OS/2 provides virtual
  671. memory,  so database size is limited by a combination of physical
  672. memory   and   disk   swap    space.      EMS_MEMORY_LIMIT    and
  673. XMS_MEMORY_LIMIT  can be set to 0 if desired; only DPMI memory is
  674. used.
  675.  
  676.                      Unlocking Demo Releases
  677.  
  678. The  acknowledgement letter  sent to  full purchasers  includes a
  679. personal  password which can be used to suppress the opening com-
  680. mercial of the  evaluation demo.  The DOS SET  command is used to
  681. define two  environment variables, WSSUSER and  WSSPASS, whenever
  682. the demo version  is run.   The first of  these is typically  the
  683. user name, the  second a 7 or 8-digit number.   For example, John
  684. Q. Public might include the lines
  685.  
  686.     SET WSSUSER=JPublic
  687.     SET WSSPASS=12345678
  688.  
  689. in his AUTOEXEC.BAT file.  The program retrieves the value of the
  690. WSSUSER  variable, does  some  arithmetic operations  on it,  and
  691. checks to see whether the result matches the value of the WSSPASS
  692. variable.   If so, the  opening commercial screen  is suppressed.
  693. The WSSUSER variable must be entered exactly as specified in your
  694. registration letter; changing the case or including spaces around
  695. the  equal signs will cause  the program to  either not recognize
  696. the password or  will change the expected value of WSSPASS.  Pur-
  697. chasers of versions released  before the password scheme  was im-
  698. plemented may contact WSS/DDC to receive a password.  The maximum
  699. database size will be slightly reduced by the memory  used by the
  700. code  which checks the password;  otherwise an unlocked demo ver-
  701. sion will be  indistinguishable from the standard  release.  This
  702. password scheme is probably  not very hard to  defeat; if you  do
  703. so, please keep the technique to yourself.
  704.  
  705. The  password does not turn  the evaluation version  into the Ex-
  706. tended version.  In the future, it may allow you  to download the
  707. Extended version from our BBS without requiring manual validation
  708. by the system operator.
  709.  
  710. Demo releases  sent to various  online and disk  copying services
  711. are compressed  using  PKWare's PKZIP.   These  files include  an
  712. authenticity check which is  difficult, but apparently not impos-
  713. sible, to defeat.  When such files are extracted using PKZIP, you
  714. should  see the  message  "Authentic files  Verified!   #  RLQ256
  715. Software by WSS Division of DDC."  If there is any change in this
  716. message, particularly in the serial number RLQ256, it  means that
  717. the  file has been modified  and should be  treated with caution.
  718. Various BBS's may add a ZIPfile comment; this will not change the
  719.  
  720. Wssindex 5.25                   4                    Installation
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733. authenticity check.  On the other hand, the self-extracting files
  734. I send to purchasers may be created by another compression utili-
  735. ty such  as LHARC.   A ZIP  file with no  authenticity check  may
  736. merely  be a repackaging of files I  send to purchasers.  At this
  737. writing, PKWare is scheduled to soon begin shipping a new version
  738. of PKZIP which will include a strengthened authenticity verifica-
  739. tion scheme;  it isn't clear  what effect this  will have on  the
  740. text displayed when a program is extracted from a ZIPfile.
  741.  
  742.                       Overview and Tutorial
  743.  
  744. This section is an  introduction to WSSINDEX  for new users.   It
  745. contains enough  information to  get you started,  but eventually
  746. you  will probably want to  browse through the  Setup and Command
  747. Reference sections.
  748.  
  749. What is  it?  WSSINDEX creates and  maintains a database with all
  750. the information about your disks available from  the DIR command,
  751. plus  optional  descriptive comments  and  categories.   You  can
  752. search the  database interactively, or you can print reports with
  753. various  sorting  and selection  options.    Output option  allow
  754. printing disk labels and disk covers.  The most common use of the
  755. program  is to  keep track  of  files on  a collection  of floppy
  756. disks, but you can index anything which looks like a disk to DOS,
  757. including hard disks, RAM  disks and some tape cartridges.   (Un-
  758. fortunately, almost  all tape  systems use special  formats which
  759. Wssindex cannot read.  But  if your tape software makes the  tape
  760. look like a  disk to DOS,  Wssindex can probably  read it.)   One
  761. option allows hard disk users to make a listing of all files on a
  762. hard disk which do not have backup copies on another disk.
  763.  
  764. What hardware  and software do I  need?  For the  DOS version, an
  765. IBM-PC or moderately compatible  MS-DOS machine (versions for the
  766. Dec Rainbow  and Texas  Instruments Professional are  also avail-
  767. able), DOS-2 or higher  and either an IBM compatible  video board
  768. or support for ANSI escape sequences.  If you lack both of these,
  769. the screen  display will be hopelessly garbled;  more details be-
  770. low.   The program will run  in 256K of memory,  but the database
  771. size will be extremely limited; 640K is recommended.  A mouse may
  772. be used.   Wssindex/Extended, which can  handle larger databases,
  773. requires an AT  class machine (286 or higher CPU), DOS-3 or high-
  774. er,  and a disk  larger than 360KB  for saved databases.   1MB or
  775. more of extended memory is recommended.
  776.  
  777. How  many disks can I  index?  With  the DOS version,  there is a
  778. hard limit (set by the 64K segment size of the Intel 80x8x series
  779. CPU's) of approximately 16K  files (or disks, or subdirectories),
  780. and a practical limit of 10-12K files if you have 640K of memory.
  781. Extended  or expanded memory is  not used, but  DOS memory beyond
  782. 640K is used  if your system  supports it.  The  extended version
  783. does use extended  memory and  the maximum database  size is  in-
  784.  
  785.  
  786. Wssindex 5.25                   5                    Installation
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799. creased  accordingly.   For example, with  6MB RAM,  over 100,000
  800. files can be indexed.
  801.  
  802. How do  I run the  program?  Start it  up by typing  WSSINDEX (or
  803. WSSInnn if you haven't  renamed the executable file and  it still
  804. includes the version number).  If you are not running  the regis-
  805. tered  version, read the opening commercial screen and hist a key
  806. to continue.   You will get a message that the configuration file
  807. was not  found; hit return and you will  get a prompt for a data-
  808. base  name.  You haven't created a  database yet, so just hit es-
  809. cape.
  810.  
  811. "Help!  my screen is all messed up.   I see funny numbers, square
  812. brackets  and other  garbage mixed  in with  normal text."   This
  813. isn't  supposed to happen  any more, but  if it does,  you may be
  814. able  to recover by hitting escape 2  or 3 times followed by con-
  815. trol-Q.  Then, read appendices A  and B for a description of what
  816. is happening and how to fix it.
  817.  
  818. At  this point you are  running with default  option settings in-
  819. cluding white-on-black colors and mouse disabled.  You can change
  820. options  at this point or later; simply select the change cOnfig-
  821. uration option  on the  main menu by  typing "O".   Probably  the
  822. first thing to check is the video output method; CGA, MDA, EGA or
  823. VGA  are much faster than DOS and  enable boxes around the menus.
  824. (Drawing  the menu boxes with DOS calls would be painfully slow.)
  825. To get to the menu screen which sets this option from the primary
  826. configuration menu, select  M and then  V.  This  menu option  is
  827. buried several menus deep  because you only need to  set it once,
  828. and you lose your screen display if you accidentally change it to
  829. the wrong  value.  You may also  want to enable use  of the mouse
  830. from the screen, keyboard and miscellaneous configuration menu.
  831.  
  832. From the main menu hit A to move to the indexing menu.  If neces-
  833. sary, hit F and S to  enter the first and second indexing drives.
  834. If you have  two drives, you can select A and  B and use then al-
  835. ternately; otherwise just select the same  drive twice.  Hit I to
  836. start indexing.   You will be told  to insert a disk  and hit the
  837. space bar; do so.  If the disk was previously labeled (by  the /V
  838. option of  FORMAT or by  some other utility),  the label will  be
  839. displayed and the disk directory information will be added to the
  840. database.   If the  disk was not  labeled, you will  be given the
  841. options to  write a label  on it, enter a  label to use  (but not
  842. write on  the disk), list  the directory on screen,  or return to
  843. the menu.  WSSINDEX  will spend a  few seconds reading the  disk,
  844. and will then prompt you  to hit the space bar to  index the next
  845. disk.  Feed  in a few disks this way, then  hit return instead of
  846. space to stop indexing, and then R to return to the main menu.
  847.  
  848. Now you can  try some of the program options.   Hit D and see how
  849. many files  and disks  you have entered.   Hit P  to move  to the
  850. File/volume listing menu, and then P again to print the database.
  851.  
  852. Wssindex 5.25                   6                        Overview
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865. When asked  for selection/rejection  options, just hit  return to
  866. select everything.  When asked for sorting options, enter 1,2 and
  867. hit return.  And  when asked to select  printer, screen, disk  or
  868. export output, hit S.  You should now get a screen listing of all
  869. files in the database, sorted by name and extension.  If the list
  870. does not fit on a  single screen, you can page forward  and back-
  871. ward with the PgDn and PgUp keys.  At the top of the list will be
  872. dummy entries for  each disk and subdirectory.   See page  23 for
  873. how to control whether or not these appear.  If you don't want to
  874. see the entire listing  you can interrupt it by hitting  ^C (con-
  875. trol-C) while  the screen is  being painted, or  hit Q  after the
  876. screen fills.  When  the listing finishes  and you return to  the
  877. menu display,  enter ^F for quick  find.  When  prompted for file
  878. specs, enter wildcard specifications one per line, ending with an
  879. empty line.  For example, *.COM  and *.EXE will match all execut-
  880. able files.  All files which match these  specs will be displayed
  881. on screen in the same format as before.
  882.  
  883. There are four different types of disk files which can be written
  884. by WSSINDEX:  (1) configuration files (default name WSSINDEX.CNF)
  885. which contain setup information and are short, (2) database files
  886. (default  name WSSINDEX.DIR)  which  contain  the disk  directory
  887. information  and can be quite large, (3) printer files which con-
  888. tain output which could instead have been sent to the screen or a
  889. printer, and (4) export  files which can be read by database pro-
  890. grams.  Only the first two of these can be read by WSSINDEX.
  891.  
  892. From the main  menu, select option  W to write  a database  file.
  893. You will be prompted with a default name of d:\path\WSSINDEX.DIR.
  894. You can  hit return to accept  this default, or you  can edit it:
  895. use the cursor keys, insert, delete,  control-arrow for word tab-
  896. bing, etc.  You can also hit TAB to get a pop-up list of database
  897. file names, but usually doing this doesn't make much sense unless
  898. you want to check  whether a database name already  exists before
  899. saving a new database.
  900.  
  901. Select option Q (or ^Q) and return to DOS.  Verify that the data-
  902. base file was written where you expected.
  903.  
  904. Restart  the program.  If you saved a configuration file with the
  905. default  name (the instructions above didn't tell you to do this,
  906. but you might  have done so anyway if you  were adventurous), no-
  907. tice that it is  automatically restored and you are  prompted for
  908. the name of a database file to read.   Otherwise, after configur-
  909. ing, select the G option  to get a database from disk  and reload
  910. the  database you  just saved.   From the  print menu,  use the V
  911. option to list the  volumes in the database, sorted by name, free
  912. space, date indexed or unsorted.
  913.  
  914. Now you have  a feel for how the program  operates and you should
  915. read  at least  up until  the detailed  menu descriptions.   Some
  916. important things you  will find are instructions for changing the
  917.  
  918. Wssindex 5.25                   7                        Overview
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931. default names for the  configuration and database files, detailed
  932. explanation  of all  the  program options,  and  how to  use  the
  933. add-comments section.   Also look  at the Problems  and Solutions
  934. chapter  for the answers to some commonly asked questions, and at
  935. the  Utilities chapter  for descriptions  of the  various utility
  936. routines.  If you want  to print disk labels or disk  covers, see
  937. the documentation for the print menu.
  938.  
  939.                   Setup and General Information
  940.  
  941. Before running WSSINDEX, there  are several DOS environment vari-
  942. ables  which you may  want to set  to establish defaults  for the
  943. configuration file name, the  database name, and your  video dis-
  944. play  type.  Doing this  is optional, but  recommended for smooth
  945. operation.
  946.  
  947. The DOS environment  is just a  list of character strings  of the
  948. form
  949.  
  950.         VARIABLE=value
  951.  
  952. You make,  view or delete entries  in this list with  the DOS SET
  953. command.   From the  DOS prompt, type  SET to  view your  current
  954. settings.   You should see something  like COMSPEC=d:COMMAND.COM,
  955. and probably other items  used by other software packages  or the
  956. PROMPT command.  You will probably  find it convenient to put SET
  957. commands in your AUTOEXEC.BAT file.  If you  get an error message
  958. that you have run out of environment space, see appendix B.
  959.  
  960. When issuing SET commands, do not include any blank spaces around
  961. the equals signs.  The four commands:
  962.  
  963.     SET X=Y
  964.     SET X =Y
  965.     SET X= Y
  966.     SET X = Y
  967.  
  968. mean different things.
  969.  
  970. The environment variables used by WSSINDEX are
  971.  
  972.     WSSDISP = default display type
  973.     WSSICNF = default configuration file name
  974.     WSSIDIR = default database name
  975.     WSSPRINT = default printer definition file
  976.  
  977. WSSINDEX and  the utility routines attempt to determine what type
  978. of video card  you have, but you can manually  override the auto-
  979. matic selection.  This  might be necessary on machines  with more
  980. than one  video board or when smart  hardware tries to sense what
  981. type of video board the software is trying to address.  The video
  982. type  is saved  in  configuration files,  but  you can  also  use
  983.  
  984. Wssindex 5.25                   8                        Overview
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997. WSSDISP to specify this; legal values are D, C, M, E or V for DOS
  998. calls, color graphics adapter, monochrome display adapter, EGA or
  999. VGA.   (Actually, only the first character is used, so you can be
  1000. more mnemonic.)
  1001.  
  1002. If you do  not specify  the configuration file  or database  file
  1003. names  on  the command  line,  they default  to  WSSINDEX.CNF and
  1004. WSSINDEX.DIR  on the current drive in the current directory.  You
  1005. can change these defaults  with the environment variables WSSICNF
  1006. and WSSIDIR.  Even  if you use multiple databases  and configura-
  1007. tions, you can still use these variables to specify the drive and
  1008. path.  For  example, if  you keep the  program and  configuration
  1009. files in  subdirectory C:\WSSINDEX, and databases in subdirectory
  1010. C:\WSSINDEX\INDEXES, you might specify
  1011.  
  1012.     SET WSSICNF=C:\WSSINDEX\
  1013.     SET WSSIDIR=C:\WSSINDEX\INDEXES\
  1014.  
  1015. (Remember, no spaces around  the equal signs.)  The  startup code
  1016. will use the specified paths and fill in the default file names.
  1017.  
  1018. The  WSSPRINT  environment variable  specifies  the  name of  the
  1019. printer  definition file  which is  used by  some options  on the
  1020. print menu.
  1021.  
  1022.  
  1023.                            Starting up
  1024.  
  1025. Type
  1026.           WSSINDEX <config name> <database name>
  1027.  
  1028. where the  angle brackets indicate  optional parameters.   If the
  1029. configuration file (first command line argument or default or de-
  1030. fined by WSSICNF)  is read successfully, the program will immedi-
  1031. ately ask for the name of  an existing database to read, and will
  1032. prompt  you with the default name.   If you don't  want to read a
  1033. database, you  can hit escape to  cancel.  On the  other hand, if
  1034. you  specify the database name  as the second  command line argu-
  1035. ment, it is read without confirmation.  If the configuration file
  1036. and database have the  same name (but the usual  extensions), you
  1037. can specify = (an equal sign) for the database  name.  In a batch
  1038. file, DOS treats an equal sign like a blank or comma, so Wssindex
  1039. won't  see it.  A - (hyphen)  can be substituted.  Either command
  1040. line  name can be replaced by  an * (asterisk) as an abbreviation
  1041. for the default name.
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050. Wssindex 5.25                   9                           Setup
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.                       Pop-up File Selection
  1064.  
  1065. When entering names for  input database, configuration or printer
  1066. definition files, you can hit TAB to switch to a list of possible
  1067. files.  These lists are  generated using the drive, path and  ex-
  1068. tension  of the default file name which was displayed just before
  1069. you hit TAB; the wildcard used is displayed at the  bottom of the
  1070. screen.   Also listed, surrounded  by brackets, are  the names of
  1071. subdirectories, including  the parent directory in  the usual DOS
  1072. notation [..].  Move  the highlight bar to the desired  entry and
  1073. hit enter, spacebar  or a mouse button.  If  no path is specified
  1074. in the wildcard and  you select the parent directory,  the selec-
  1075. tion is interpreted to mean fill in the current directory, but do
  1076. not move up the directory tree.  Once this has been done, you can
  1077. move up the directory tree by selecting  [..] again.  If you want
  1078. to  change to a different drive, edit  that part of the file name
  1079. before hitting TAB.
  1080.  
  1081.                          Command Defaults
  1082.  
  1083. In many places, WSSINDEX  gives you a default which will  be used
  1084. if you just hit enter.   For text input, you can edit the default
  1085. with normal  editing keys: left, right  cursor arrows, backspace,
  1086. insert,  delete, control-arrows  for  word tabbing.   File  names
  1087. generally  have default  drive, subdirectory, name  and extension
  1088. components which are established at program startup and change to
  1089. match the last user input.
  1090.  
  1091.                         Aborting commands
  1092.  
  1093. At most  points you can hit  ESCAPE (CANCEL on a  Dec Rainbow) to
  1094. abort a command  when you are prompted  for text strings such  as
  1095. file name,  disk name, etc.  ESCAPE also backs up one menu level,
  1096. or forces a screen rewrite from the top level menu.   ESCAPE will
  1097. not stop print  operations, use  control-c instead.   If you  hit
  1098. ESCAPE when numeric input is expected, you will still see a "com-
  1099. mand aborted" message,  but all  this means is  that the  default
  1100. value has been used.
  1101.  
  1102.                  The Dreaded Abort, Retry, Fail?
  1103.  
  1104. Certain disk errors will produce a DOS error message, followed by
  1105. an "Abort, Retry, Fail?" prompt (Fail is replaced by Ignore under
  1106. DOS 2), possibly in  an inappropriate screen location if  you are
  1107. using direct video  writes for  screen output.   To minimize  the
  1108. chance  of triggering such a  message, WSSINDEX now  has an error
  1109. handler which  will intercept such messages during indexing or if
  1110. they are  triggered on the first  access of a disk,  and give you
  1111. the opportunity to correct  the problem or cancel  the operation.
  1112. The usual problems which can be detected this way are  disk write
  1113. protected,  not ready  or not  formatted.   Disk full  errors are
  1114.  
  1115.  
  1116. Wssindex 5.25                   10                          Setup
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129. handled properly, but at  a different level.  In  future releases
  1130. the error handling will be extended to catch all disk errors.
  1131.  
  1132. The current coding will not detect the various failures which can
  1133. occur in the middle of reading or writing a file, but such errors
  1134. generally indicate a serious problem which may not be recoverable
  1135. in any  case.  If you  do get the "Abort,  Retry, Fail?" message,
  1136. you must  be careful how  you respond.   If you respond  "A", you
  1137. return to DOS and lose whatever you were working on.  But, that's
  1138. not the worst thing that can happen.  If the failure happens on a
  1139. write operation,  and you swap  disks before responding  "R", DOS
  1140. will  probably write the directory  and file access  table of the
  1141. original disk onto the second disk.  This is really a design flaw
  1142. in MS-DOS, not a  WSSINDEX problem, and most any program can suf-
  1143. fer from it.  It is  generally safe to fix the problem  and retry
  1144. with  the same disk.  The result  of failing an error will depend
  1145. on  exactly what operation failed, but you can usually recover by
  1146. responding fail, although you may have to do so several times.
  1147.  
  1148.  
  1149.                          Acknowledgements
  1150.  
  1151. WSSINDEX started out as an exercise  to learn C for my "real job"
  1152. and to  fill my needs for  a disk indexing package,  and ended up
  1153. growing into a major  project.  Two special software  tools which
  1154. have  proved invaluable  in  producing various  releases of  this
  1155. package are OPUS MAKE (D. G. Kneller & J. F. Thomason, Opus Soft-
  1156. ware, 1032 Irving  St. Suite 439,  San Francisco, CA   94122) and
  1157. the PD M4 macro preprocessor (Ozan S. Yigit with modifications by
  1158. John Levine).  The video  board configuration information is pri-
  1159. marily from  DOSREF17 Programmer's Technical Reference  for MSDOS
  1160. and the IBM PC, Copyright 1990 by  Dave Williams.  Special thanks
  1161. to  Paul St. George, Nate Horowitz, Don Wetzel, and other members
  1162. of the Sanyo  New England Users Group for  encouraging me to dis-
  1163. tribute my  early efforts as shareware.  Also thanks to all those
  1164. who  have registered the shareware version, and to those who sug-
  1165. gested  program  enhancements.     And  finally,  thanks  to  the
  1166. countless bulletin board sysops who provide the distribution net-
  1167. work for shareware programs.
  1168.  
  1169.                     Archive and Graphics Files
  1170.  
  1171. The idea of combining files into an  archive or library, and pos-
  1172. sibly  compressing them at the  same time, is  older than MS-DOS.
  1173. WSSINDEX can peer into certain types of archive files and extract
  1174. directory information.  Note that it is only the directory infor-
  1175. mation which  is extracted; file  viewing and extraction  are not
  1176. implemented.   WSSINDEX can also extract  useful information from
  1177. graphics formats, namely the image size and number of colors. 
  1178.  
  1179. Archive files are identified  by their file extension.   Since it
  1180. is possible for a non-archive file to have a name  which makes it
  1181.  
  1182. Wssindex 5.25                   11                          Setup
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195. appear to be an archive, you may get warnings when indexing  that
  1196. such files are  either not archives or are corrupted.   If such a
  1197. message  is given for  a file which  you think is  a archive, you
  1198. should use the appropriate archive utility  to test the integrity
  1199. of the file.
  1200.  
  1201. In  most but not all cases, extraction of information from an ar-
  1202. chive file is noticeably slower  than reading a directory because
  1203. the  information is  scattered throughout  the file,  rather than
  1204. being concentrated in one place.  You  will probably notice a lot
  1205. of disk activity when extracting archive information.
  1206.  
  1207. Some of the  archive formats  may be used  on non-MS-DOS  systems
  1208. which  allow file  names which  are illegal  under MS-DOS.   When
  1209. WSSINDEX  extracts information from such an archive, the two com-
  1210. ponents of the file name are truncated to 8 and  3 characters but
  1211. retain their original case.   If you transfer archive  files from
  1212. another operating system to MS-DOS, remember that these are bina-
  1213. ry files and  improper character translations  can make them  un-
  1214. readable.  Some of  the archive formats can include  subdirectory
  1215. information; WSSINDEX will ignore this  information.  Some of the
  1216. archive formats allow entries  to be marked as  deleted; WSSINDEX
  1217. will  ignore such entries.  If an archive format allows inclusion
  1218. of comments,  and the WSSINDEX configuration  selects comment ex-
  1219. traction, the  leading characters of the  comment (after removing
  1220. any leading or trailing blanks, unprintable characters, box form-
  1221. ing  characters or strings  of more than  two consecutive blanks)
  1222. are included in the  database.  The maximum number  of characters
  1223. extracted used  to be fixed at  64 but is now  configurable up to
  1224. 1023.
  1225.  
  1226. Archive files introduce two complications in the operation of re-
  1227. placing a commented disk  in the database.  First,  which comment
  1228. should be used if  a comment has  been extracted from an  archive
  1229. and the  file already  had a  comment in the  database?   Current
  1230. choice is to accept  the comment extracted from the  archive, but
  1231. I'm  not certain  that this  is the  best choice.   Second,  what
  1232. should be done if a member of an archive file matches the name of
  1233. an  ordinary, commented  file in  the same  subdirectory?   Quite
  1234. probably the files  are identical, but  they could be  completely
  1235. different, and WSSINDEX  has no reliable way to tell which is the
  1236. case.  The  current program version uses the  following algorithm
  1237. to decide whether to  copy a comment after it has  found matching
  1238. file and subdirectory  names: if both files  are archive members,
  1239. the archive file names must match, and if only one of the pair is
  1240. in an archive file, the size and date must match.   I am not com-
  1241. pletely  satisfied with this algorithm and am open to any sugges-
  1242. tions for a better technique.
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248. Wssindex 5.25                   12     Archive and Graphics Files
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261. The formats of  various archive files  sometimes change with  new
  1262. releases  of  archiving  programs.    Such  changes  may  prevent
  1263. WSSINDEX from  extracting information.   For example,  LHARC 2.0x
  1264. writes by default files which are  not readable by LHARC 1.xx, or
  1265. by  any version  of Wssindex  older than  5.1.   Fortunately, new
  1266. compression methods  usually do not require  changing header for-
  1267. mats, so WSSINDEX is usually not broken by archiver changes.
  1268.  
  1269.                     Archive Formats Supported
  1270.  
  1271. ARC, ARK, PAK, PKA, SDN -  As far as WSSINDEX is concerned, these
  1272. extensions all refer to variants of the same type of archive.  An
  1273. extraction program might not be  able to handle all of  these be-
  1274. cause some of them may use unrecognized compression  methods, but
  1275. the header  information has the same format in all four.  The ARC
  1276. extension  is used with the archive format which is currently the
  1277. most popular.  ARC files may be created by ARC  (Systems Enhance-
  1278. ment  Associates, 21 New Street, Wayne, NJ  07470) or PKARC/PKPAK
  1279. (PKWare  7545 N.  Port Washington Road,  Suite 205,  Glendale, WI
  1280. 53217).   ARK is the  extension used by a CP/M  port of ARC.  The
  1281. PAK  extension is used by PAK (NoGate Consulting, P.O. Box 88115,
  1282. Grand Rapids, MI  49518).  When a version of PKARC was introduced
  1283. which  had a compression method not recognized by ARC, some users
  1284. recommended changing  the extension to PKA.  SDN is a format used
  1285. by  the Software Distribution Network,  essentially the same as a
  1286. PAK file.
  1287.  
  1288. ARJ - Files  with this extension  are created by  ARJ (Robert  K.
  1289. Jung,  2606 Village Road West, Norwood, MA 02062).  ARJ files can
  1290. span volumes,  in which case  the continuation files  have exten-
  1291. sions A00,  A01,...  Wssindex recognizes  the continuation files,
  1292. but does not record  whether an archive member spans  two archive
  1293. files.  A  recent ARJ  release allows more  than 99  continuation
  1294. files,  in  which  case   the  extensions  are  3-digit  numbers.
  1295. Wssindex does not test whether  files with 3-digit extensions are
  1296. ARJ files because too  many other files are  likely to have  this
  1297. type of  extension.   The only  conceivable use  for an  ARJ file
  1298. which occupies more than 100 disks  is a hard disk backup, and if
  1299. your backups take more than 100 disks, you really should consider
  1300. getting a tape drive.
  1301.  
  1302. HYP - Hyper is a German program by Peter Sawatzki and Klaus Peter
  1303. Nischke.  An October 15, 1991 PC Magazine comparison of archiving
  1304. programs rated Hyper best at compressing spreadsheet files.
  1305.  
  1306. LBR - This format was defined by Gary Novosielski for use on CP/M
  1307. and  MS-DOS systems and many programs exist which can create this
  1308. type  of archive.  Although no longer popular, this format allows
  1309. quick access to any archive member because the directory informa-
  1310. tion is  all in one  place at  the beginning of  the file.   Time
  1311. stamps stored  in a LBR file are relative to 1/1/76, but are con-
  1312. verted to the MS-DOS standard by WSSINDEX.  This means that files
  1313.  
  1314. Wssindex 5.25                   13     Archive and Graphics Files
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327. dated before 1/1/80  will appear to be dated  1/1/80.  There also
  1328. exist LBR utilities which do not fill in the date and time infor-
  1329. mation; these will also produce file dates of 1/1/80.  
  1330.  
  1331. LZH,  LZS - Files with these  extensions are created respectively
  1332. by the Japanese  programs LHARC (Haruyasu Yoshizaki) or  LARC (K.
  1333. Miki, H. Okumura, K. Masuyama).
  1334.  
  1335. ZIP  - ZIP files are  created by PKWare's  PKZIP (address above).
  1336. ZIP  files extending  across multiple  volumes are  not currently
  1337. supported by WSSINDEX (or by the current release of  PKZIP).  ZIP
  1338. files may  be created  on non-MS-DOS operating  systems; WSSINDEX
  1339. should be  able to handle such  files, except for  the above men-
  1340. tioned  truncation of file names.  A  volume name stored by PKZIP
  1341. will appear as a zero-byte file.
  1342.  
  1343. ZOO - The ZOO archive utility (by Rahul Dhesi) is available under
  1344. many different operating systems, and the file format is supposed
  1345. to be the same on all of them.
  1346.  
  1347.                     Graphics Formats Supported
  1348.  
  1349. The  image size and  number of colors  for graphics files  can be
  1350. placed in  the category field in the format width x height x col-
  1351. ors.   If an image appears to  be black and white, either because
  1352. of a  flag in the file or because the  color table has equal red,
  1353. green and blue intensities for all colors,  the category includes
  1354. the string "monochrome".   When reindexing, this information will
  1355. not replace an existing category.
  1356.  
  1357. BMP  - Bitmapped images used by Windows  3.0 and OS/2.  I believe
  1358. that  earlier versions of Windows  used the same  extension but a
  1359. different file format, but I have no examples for testing.
  1360.  
  1361. GIF - Stands for  Graphics Interchange Format, a service  mark of
  1362. Compuserve.  The GIF format allows for files which do not contain
  1363. an image, but it is likely that only test files will use this op-
  1364. tion.  Such files will trigger a warning message.  A GIF file may
  1365. also contain  multiple images; WSSINDEX  will only see  the first
  1366. one.   I've seen one example  of what a viewing  program called a
  1367. GIF file with a MAC header.  Wssindex will reject such a file.
  1368.  
  1369. PCX - Zsoft format commonly used by paint programs.
  1370.  
  1371. TIF - Tagged Image Format from Aldus.
  1372.  
  1373.                    Navigating through the menus
  1374.  
  1375. Wssindex  is controlled  by  a series  of  menus and  data  entry
  1376. screens.  The  overall structure  is shown in  the figure  below.
  1377. For the most part, related functions are put on the same menu.  A
  1378. few items which might logically be used in different contexts are
  1379.  
  1380. Wssindex 5.25                   14     Archive and Graphics Files
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393. repeated  on multiple menus.  The appearance of the menus depends
  1394. on whether  screen writing is done  by DOS calls  or direct video
  1395. writes.  In DOS-calls mode, menus are not surrounded by boxes and
  1396. there is no highlight  bar because displaying these in  this mode
  1397. is very time consuming.
  1398.  
  1399. Operation of the menus is fairly straightforward.  A menu item is
  1400. selected  by either hitting a trigger key which is highlighted in
  1401. the menu,  or by hitting return  or space when the  highlight bar
  1402. and cursor are positioned on the desired item.  The highlight bar
  1403. can be moved with the  cursor keys or with a mouse; HOME  and END
  1404. move the selector bar  to the first  and last menu items  respec-
  1405. tively; ESCAPE returns  to the  previous menu,  or refreshes  the
  1406. screen if at the top-level menu.  The left mouse button is equiv-
  1407. alent to the space bar, the  right button to the return key.   If
  1408. you hit a  key which is  not the trigger  for any displayed  menu
  1409. item, it is assumed that you are entering a value for the current
  1410. item.  The area below a menu box is used for  message display and
  1411. user entry of items such as file names.
  1412.  
  1413. After a menu item has been selected,  and any processing for that
  1414. item  is completed,  an attempt  is made  to make  an intelligent
  1415. choice whether to leave the cursor positioned on the same item or
  1416. to advance  to the next item.  The method used to select the menu
  1417. item  affects the decision whether to advance  to the next.  If a
  1418. menu item is  selected by hitting return or the  right mouse but-
  1419. ton, the  cursor will always advance  to the next menu  item.  On
  1420. the other hand, if a menu item is selected by hitting the trigger
  1421. key, the  space bar or  left mouse button,  the cursor will  only
  1422. advance to  the next menu item if it seems unlikely that the cur-
  1423. rent item will be reselected.  For example, if you have toggled a
  1424. YES/NO value or  typed in a  numeric value  for a parameter,  you
  1425. probably want to advance to the next item.  If you don't like the
  1426. automatic cursor advance,  there is a  menu selection to  disable
  1427. it.
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446. Wssindex 5.25                   15                          Menus
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.       +---------------------------------------------------+
  1460.       | Main menu                                         |
  1461.       |     Listing menu                                  |
  1462.       |     Add disks menu                                |
  1463.       |     Add comments menu                             |
  1464.       |     Primary configuration menu                    |
  1465.       |          Printer configuration                    |
  1466.       |               Postscript printer setup            |
  1467.       |          Database size configuration              |
  1468.       |          Indexing options                         |
  1469.       |              Default sorting/selection options    |
  1470.       |              Archive file extraction selection    |
  1471.       |              Graphics file extraction selection   |
  1472.       |          Screen, keyboard, miscellaneous          |
  1473.       |              Color selection                      |
  1474.       |              Video board configuration            |
  1475.       |          Keyboard macros                          |
  1476.       |          Exceptions list                          |
  1477.       |          Fields to print                          |
  1478.       |          Output format                            |
  1479.       |                                                   |
  1480.       +---------------------------------------------------+
  1481.           Figure 1. Structure of the Wssindex menu tree
  1482.  
  1483. Figures show menus as  they appear on screen, or  slightly edited
  1484. to fit within the margins of this document.
  1485.  
  1486.                             Main Menu
  1487.  +-------------------------------------------------------------+
  1488.  |                     Wssindex Main Menu                      |
  1489.  |                                                             |
  1490.  | Major functions                 Database maintenance        |
  1491.  |   Add or label disks              Add/modify Comments       |
  1492.  |   ^F quick find                   Import comments           |
  1493.  |   Print and other output menu     ReName a disk in database |
  1494.  |   Write database to disk          ^N rename with mixed case |
  1495.  |   Display statistics              Remove disks              |
  1496.  |   ^D - list directory             ^R remove all disks       |
  1497.  |   ABout Wssindex                  Purge duplicate Volumes   |
  1498.  |                                                             |
  1499.  | Configuration                   Terminate/suspend           |
  1500.  |   Get or merge database           Push to DOS               |
  1501.  |   ^G get database and CNF file    Quit                      |
  1502.  |   Change cOnfiguration info       ^Q quick quit             |
  1503.  +-------------------------------------------------------------+
  1504.  
  1505. Figure 2. Wssindex Main Menu.  This top level menu provides imme-
  1506. diate access to some of the more commonly used functions, as well
  1507. as entry to the output, indexing and configuration menus.
  1508.  
  1509.  
  1510.  
  1511.  
  1512. Wssindex 5.25                   16                          Menus
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525. A - Add or label disks
  1526.     This option leads to the indexing menu.
  1527.  
  1528. ^F - Quick Find (control-f)
  1529.     This is the option to use if you are looking for a particular
  1530.     file by name  and want unsorted  screen output.  You  will be
  1531.     prompted to  enter one or more  wildcard file specifications.
  1532.     This option  is duplicated  on the  Print sub-menu  (page 22)
  1533.     where it is discussed in more detail.
  1534.  
  1535. P - Print and other output menu
  1536.     This option leads to the print sub-menu.
  1537.  
  1538. W - Write database on disk
  1539.     The  in-memory database is saved  on disk.   The default file
  1540.     name is the first of
  1541.  
  1542.     1.  The last file name used in a Get or Write command
  1543.     2.  The second command line argument
  1544.     3.  The  DOS environment  variable WSSIDIR  (DOS  command set
  1545.         WSSIDIR=filespec)
  1546.     4.  WSSINDEX.DIR
  1547.  
  1548.     which is defined.  The default file name is displayed and may
  1549.     be edited in the  usual way.  A previously existing file with
  1550.     the same name will either be renamed with a .BAK extension or
  1551.     overwritten (with verification), depending on  which configu-
  1552.     ration option you have  selected.  If creation of  .BAK files
  1553.     is enabled, you will not be  allowed to use a filename with a
  1554.     .BAK extension.
  1555.  
  1556. D - Display statistics
  1557.     This option displays the  number of files, subdirectories and
  1558.     disks in the  database, and the  amount of contiguous  memory
  1559.     remaining for  additional entries.   There will always  be at
  1560.     least one subdirectory listed,  since the root directories of
  1561.     all  disks are treated as  one subdirectory.   Also listed is
  1562.     the current  database name,  either from the  last read/write
  1563.     operation or the default name.
  1564.  
  1565.     Some points about the  reported memory remaining: this number
  1566.     will only decrease when the number of subdirectories increas-
  1567.     es, or when  comments and  categories are added.   Space  for
  1568.     other  information is  allocated  during the  initial  setup.
  1569.     (This was  not true in versions older than 3.30.)  It is only
  1570.     the  contiguous space remaining which is reported.  If a disk
  1571.     with  subdirectories or  comments is  removed or  replaced, a
  1572.     "hole" may created in the memory space which will be used for
  1573.     comments, etc. which  are added later.   Some operations  may
  1574.     create  fragments of memory too small to be useful, hence the
  1575.     space  remaining may change slightly if you save the database
  1576.     on disk  and then reload it.   You will receive  a warning if
  1577.  
  1578. Wssindex 5.25                   17                      Main Menu
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.     the available space  drops below  4K.  The  program tries  to
  1592.     recover  gracefully from  out of  memory errors, but  doing a
  1593.     save to disk is  strongly recommend if you get  this warning.
  1594.     Also note that opening a file  requires at least 2K for buff-
  1595.     ers, so  you may not  even be able  to save your  database if
  1596.     there is too little memory free.
  1597.  
  1598. ^D - List directory (control-d)
  1599.     This  command lists  the directory  of a  disk to  the screen
  1600.     (file names only).   There are two options after  hitting ^D:
  1601.     either hit  return and the complete subdirectory tree is dis-
  1602.     played for the  disk in the first indexing  drive, or enter a
  1603.     wildcard file  specification including disk and  path and see
  1604.     everything which  matches that  specification.  Note,  if you
  1605.     enter a  file specification without specifying  the disk, the
  1606.     default  is the currently logged drive, not one of the index-
  1607.     ing drives, and to see all  files on a disk (in one subdirec-
  1608.     tory) you  must use the *.* wildcard, not just d:.  The list-
  1609.     ing can be terminated  by hitting control-c.  You  might want
  1610.     to use  this option to find  out what's on a  disk before you
  1611.     label it,  or to refresh your memory of the names of your da-
  1612.     tabases.    This option  is duplicated  on the  Indexing menu
  1613.     (page 32).
  1614.  
  1615. B - ABout Wssindex
  1616.     Displays version number and copyright information.
  1617.  
  1618. G - Get or merge a database from disk
  1619.     Enter the name of  a file previously saved with  the "W" menu
  1620.     option. The default name is the first of
  1621.  
  1622.     1.  The last file name used in a Get or Write command
  1623.     2.  The second command line argument
  1624.     3.  The  DOS environment  variable WSSIDIR  (DOS  command set
  1625.         WSSIDIR=filespec)
  1626.     4.  WSSINDEX.DIR
  1627.  
  1628.     which is defined.  The default file name is displayed and may
  1629.     be edited  in the usual way, or you can  hit TAB and select a
  1630.     file from a full-screen  display.  If you have  a database in
  1631.     memory, you will be  warned and given the options  of merging
  1632.     or replacing.   You will also be warned if you ask to replace
  1633.     a  database  which  has  been changed  without  being  saved.
  1634.     Merged databases are  tested for duplicate volume  names.  If
  1635.     any are found, the "V" option should be used to delete them.
  1636.  
  1637. ^G - Get configuration file and matching database (control-g)
  1638.     This  option prompts for the name of a configuration file and
  1639.     loads it without displaying the configuration menu.  If there
  1640.     are  no problems  configuring, the  default database  name is
  1641.     changed  to be the same  as the configuration  file name, but
  1642.     with a DIR  extension, and a get-database function is execut-
  1643.  
  1644. Wssindex 5.25                   18                      Main Menu
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.     ed.  This same function can also be executed from the command
  1658.     line when  starting up  by specifying the  configuration file
  1659.     name as  the first argument and an equal sign (=) as the sec-
  1660.     ond.
  1661.  
  1662. O - Change cOnfiguration
  1663.     This option leads to the primary configuration sub-menu.
  1664.  
  1665. C - Add/modify Comments
  1666.     This options leads to the add-comments screen.
  1667.  
  1668. I - Import comments
  1669.     This option reads a text file containing file names, comments
  1670.     and  categories and  assigns the  comments and  categories to
  1671.     matching  file names in  the currently loaded  database.  The
  1672.     text file might be a  listing of files from a bulletin  board
  1673.     or the ascii output from another disk indexing program.  This
  1674.     option  does not create a database from scratch from an ascii
  1675.     input file, so  it is not what  is normally called  an import
  1676.     routine.   In releases prior to 5.1, this function was imple-
  1677.     mented by a stand-alone utility called WSIMPORT.  That utili-
  1678.     ty is now obsolete.
  1679.  
  1680.     Features:
  1681.  
  1682.     1.  Filename format may  be either  FILENAME.EXT or  FILENAME
  1683.         EXT (but not a mixture).
  1684.     2.  File names, comments and categories may be in any order.
  1685.     3.  Filenames may be in mixed case.
  1686.     4.  Tabs are expanded.
  1687.     5.  Processing speed is around 1000 lines per minute, depend-
  1688.         ing on the database size and your CPU speed.
  1689.     6.  Header or other garbage lines are ignored.
  1690.  
  1691.     Requirements on the input file:
  1692.  
  1693.     1.  Anything appearing after the comment/category (except the
  1694.         file  name or  category/comment) will  be interpreted  as
  1695.         part of the comment or category.
  1696.     2.  File names,  comments and categories must  begin in fixed
  1697.         columns.
  1698.     3.  Comments and categories must  be on the same line  as the
  1699.         file name.
  1700.     4.  Lines must end with line feeds (if you can type the file,
  1701.         it meets this requirement).
  1702.  
  1703.     Before starting  the program, you should  examine the comment
  1704.     file, either by typing it or with a text editor, to determine
  1705.     in which columns the file names (and extensions if the format
  1706.     is not FILENAME.EXT), comments  and categories begin.  Number
  1707.     the columns starting with  one, not zero.  This  step may not
  1708.     be  necessary since Wssindex will show you the first 15 lines
  1709.  
  1710. Wssindex 5.25                   19                      Main Menu
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.     of the import file with a ruler line before asking you  about
  1724.     the  file, but if the  comments start after  these lines, you
  1725.     won't see them, and  if the lines are longer than your screen
  1726.     width, the display may not be  very readable.  In general, it
  1727.     is not necessary to remove headers or other  extraneous lines
  1728.     from the input file; they will simply not match any  files in
  1729.     the database and will thus be ignored.  But, if there are any
  1730.     control characters embedded in the comments (such as might be
  1731.     introduced by line noise in a downloaded file) they should be
  1732.     removed or else  they will be interpreted  as the end of  the
  1733.     comment.  You can be a little sloppy with the starting column
  1734.     for comments  since the program  will remove any  leading (or
  1735.     trailing) blanks.
  1736.  
  1737.     You are  prompted for the  name of  the comment file  and the
  1738.     format (FILENAME.EXT  or FILENAME EXT  and starting columns).
  1739.     You will be given  the option to override or  keep previously
  1740.     existing  comments in the database if a new comment is found.
  1741.     If the input file  does not include categories, you  can also
  1742.     specify a category string which will be applied to every file
  1743.     which has a new comment assigned (unless you prohibit replac-
  1744.     ing comments  and the file  had a category but  not a comment
  1745.     previously assigned).
  1746.  
  1747.     After  initializing, the database is  sorted by file name and
  1748.     extension.  You already know about how long this will take if
  1749.     you  have used any  of the sorting options  in WSSINDEX.  The
  1750.     program remembers the sequence number where each letter first
  1751.     appears, and  starts searching for  matching files there.   A
  1752.     fancier hashing algorithm and a  binary search could be used,
  1753.     but my testing indicates that the sorting time will typically
  1754.     be  as long or longer than the processing time for reasonable
  1755.     sized input files, so not much can be gained here.
  1756.  
  1757.     The comment file is read line-by-line, and lines which appear
  1758.     to contain a filename and a comment are processed.  Note that
  1759.     the same comment may be applied to multiple database entries,
  1760.     since disk and subdirectory names are not checked.
  1761.  
  1762.     When  the program  finishes processing  the comment  file, it
  1763.     prints out a few statistics (number of input lines, number of
  1764.     comments applied, etc.)   and gives you the option  of making
  1765.     another pass  with a  different comment  file.  The  database
  1766.     does  not need to be resorted  for multiple passes, so if you
  1767.     have  multiple comment files,  it saves time  to process them
  1768.     together.
  1769.  
  1770. N - ReName a disk in the database
  1771.     You  are prompted for old and new  names and the disk name in
  1772.     the database is changed.  Names  are forced to upper case.  A
  1773.     carriage return aborts back to the main menu.
  1774.  
  1775.  
  1776. Wssindex 5.25                   20                      Main Menu
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789. ^N - ReName a disk with a mixed case label (control-n)
  1790.     This is the same as  option "N" except that it  accepts lower
  1791.     case characters.
  1792.  
  1793. R - Remove a disk from the database
  1794.     The volume name to remove may be either typed in or read from
  1795.     disk.   When typing in  a name, you  can either let  WSSINDEX
  1796.     force your input to upper case or use mixed case.
  1797.  
  1798. ^R - Remove all disks (control-r)
  1799.     This option clears the database currently in memory.  A warn-
  1800.     ing  is given if  the database has  not been saved  since the
  1801.     last modification.
  1802.  
  1803. V - Purge duplicate Volumes
  1804.     If  you merge two databases,  you may end  up with duplicated
  1805.     volume names.   Selecting this option purges  duplicates.  To
  1806.     decide  which entry to  discard, the  dates indexed  are com-
  1807.     pared.  If the dates are  different, the oldest entry is  de-
  1808.     leted.  Otherwise, the number of files on disk is checked and
  1809.     the entry with the larger  number is kept.  If the  number of
  1810.     files  also matches,  the first  entry is  kept.   Deleting a
  1811.     small number  of duplicates  doesn't take terribly  long, but
  1812.     deleting  many duplicates from  a large database  can be time
  1813.     consuming.
  1814.  
  1815. S - Push to DOS
  1816.     Load a secondary copy of COMMAND.COM (or alternate processor)
  1817.     and  temporarily pass control to  it.  Return  to WSSINDEX by
  1818.     typing EXIT at the DOS prompt.  To remind you that you are in
  1819.     a secondary shell, the configuration can be set to change the
  1820.     DOS  prompt to  "EXIT  to return  to Wssindex  <newline> <old
  1821.     prompt>".   You can do  anything you can  normally do  at DOS
  1822.     level,  but you will have less free  memory to work with.  It
  1823.     is best not  to load  a terminate and  stay resident  program
  1824.     here because it will  fragment the memory space.  The DOS en-
  1825.     vironment variable COMSPEC is used to locate the command pro-
  1826.     cessor, so this option will work even if you have renamed, or
  1827.     are using a replacement for, COMMAND.COM.  COMSPEC is normal-
  1828.     ly set up  correctly during  the boot process  and you  don't
  1829.     need  to worry  about it  unless you  have done  something to
  1830.     change it.   If COMSPEC is not defined, an attempt is made to
  1831.     load COMMAND.COM from the root directory of the logged drive.
  1832.  
  1833.     You must have some free memory to use this option, and insuf-
  1834.     ficient space is the usual cause when this command fails.  On
  1835.     a DOS 2.11 system, I need about 17.5K (as reported by the "D"
  1836.     option);  later DOS's are larger  and will require  more.  Of
  1837.     course, if you want to run a program  in the secondary shell,
  1838.     you   must    also   consider   its    memory   requirements.
  1839.     Wssindex/Extended leaves considerably more memory free for  a
  1840.     DOS shell.
  1841.  
  1842. Wssindex 5.25                   21                      Main Menu
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855. Q - Quit and return to DOS
  1856.     You will be warned if the in-memory database has been changed
  1857.     without being saved, and in any case you must verify that you
  1858.     really want to exit.  For your protection, the default option
  1859.     is  N (don't  quit) if  the in-memory  database has  not been
  1860.     saved.
  1861.  
  1862. ^Q - Quick Quit and return to DOS (control-q)
  1863.     If  the in-memory database  has not been  changed since being
  1864.     saved, this option returns to DOS without asking for  verifi-
  1865.     cation, otherwise it's the same as option "Q".
  1866.  
  1867.  
  1868.                             Print menu
  1869. +---------------------------------------------------------------+
  1870. |                   File/volume listing Menu                    |
  1871. |                                                               |
  1872. |   Select/sort/Print   Options requiring printer config file   |
  1873. |   Find a file                                                 |
  1874. |   ^F quick find           Multi-column printing               |
  1875. |   Zippy text search       MulTi-column dup/unique/no backup   |
  1876. |   Duplicate files         Disk Covers                         |
  1877. |   Unique files            Disk Labels                         |
  1878. |   Files not Backed up     REad printer definition file        |
  1879. |                                                               |
  1880. |   List Volumes            COnfiguration menu                  |
  1881. |   ^V quick volume list    Return to main menu                 |
  1882. +---------------------------------------------------------------+
  1883. Figure 3. Wssindex print menu.  The options marked as requiring a
  1884. printer configuration file are intended for printer or  disk out-
  1885. put.  You  can direct their output to the  screen, but there will
  1886. not be pauses when the screen fills.
  1887.  
  1888.  
  1889. P - Print (and sort)
  1890.     The print option first  allows you to select what  files will
  1891.     be listed.   Files to be  listed may be selected  by combina-
  1892.     tions of
  1893.  
  1894.       1. names and extensions  10. category
  1895.       2. subdirectory          11. date range
  1896.       3. disk name             12. size range
  1897.       4. names starting from   13. exclude configured exceptions
  1898.       5. extensions from       14. exclude archive file members
  1899.       6. subdirs starting from 15. only archive files and members
  1900.       7. disks starting from   16. archive members by arc name
  1901.       8. disk numerically from 17. zippy search
  1902.       9. comment               18. select from previous subset
  1903.  
  1904.     You tell the program  which selection criteria to use  by en-
  1905.     tering a list of  numbers separated by commas.   Depending on
  1906.     which options  you chose,  further prompts  will be made  for
  1907.  
  1908. Wssindex 5.25                   22                      Main Menu
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.     file  names, etc.    Each file  in  the database  is  checked
  1922.     against all of the selection criteria, and is included in the
  1923.     listing  only if it passes all tests.   This means, for exam-
  1924.     ple, that while  you can select files in which  are in subdi-
  1925.     rectory \ABCD and match *.DAT, you can not select files which
  1926.     are either in the subdirectory or match the file spec.   This
  1927.     restriction does not interfere with most  selection requests;
  1928.     the  occasional odd request can often be built up with multi-
  1929.     ple passes.
  1930.  
  1931.     Files in the database  can also be excluded from  the listing
  1932.     by the first 10 options  in this list.  You indicate  this by
  1933.     using a negative selection option number.   Option -1, rejec-
  1934.     tion by file name,  is essentially the same as option 13, ex-
  1935.     clusion of configured exceptions, except that different lists
  1936.     of names are used.   The recommended mode of operation is  to
  1937.     put the file names which you always want to exclude  into the
  1938.     configured exceptions list (which is semi-permanent and rela-
  1939.     tively awkward to  revise), and  use the option  -1 list  for
  1940.     special cases.  For example, depending on the sort order, you
  1941.     may or  may not want to  see the .ID entries  for volumes and
  1942.     subdirectories.  The option -1 rejection  list is the obvious
  1943.     way to get rid of these  entries, although you can also do it
  1944.     by selecting only files larger than 0 bytes.
  1945.  
  1946.     Selection  option  numbers are  entered in  a comma-delimited
  1947.     list; the order is not significant.  All  but options 13, 14,
  1948.     15 and 18 lead to prompts for more information.   Options -1,
  1949.     1 and 17 accept  multiple items, one per line,  ending with a
  1950.     null  line.  All selection options are case insensitive.  The
  1951.     default list of options is configurable, and can be edited in
  1952.     the usual way.
  1953.  
  1954.     When entering  a list  of wild-card file  specifications, you
  1955.     can  switch to full-screen editing  mode by hitting  tab.  If
  1956.     you immediately tab into  full-screen after having previously
  1957.     entered  file selection specifications, the previous specifi-
  1958.     cations are remembered and  displayed for editing.    You can
  1959.     make  up to  100 entries  (5 columns  of 20  specifications).
  1960.     Normal editing commands are available.   Any cursor arrow mo-
  1961.     tion off the left or right  end of an entry is interpreted as
  1962.     a move  to the next column.  Hitting HOME moves the cursor to
  1963.     the beginning of the current entry, or  if already there,  to
  1964.     the first entry in the list.  Similarly, hitting END moves to
  1965.     either the  end of the current  entry or to the  last item in
  1966.     the list.  ^E deletes  the current entry, ^A deletes  all en-
  1967.     tries, ^R redraws the  screen (useful after deleting entries)
  1968.     and F10 indicates that all entries are completed.
  1969.  
  1970.     If you want archive  file members, but not the  archive files
  1971.     themselves, include *.ARC,  *.LBR, etc. in one of  the excep-
  1972.     tion lists.
  1973.  
  1974. Wssindex 5.25                   23                     Print Menu
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.     When character string  input is required,  you can enter  two
  1988.     different  types of wildcard.   The first is  similar to what
  1989.     the  DOS DIR  command accepts:  a question  mark matches  any
  1990.     character and an asterisk  matches all characters to  the end
  1991.     of the string.  A few examples:
  1992.  
  1993.         * or *.*    matches any file.
  1994.         *.          matches any file with no extension.
  1995.         xy*         matches any subdirectory, disk name, comment,
  1996.                     or category which begins with the letters xy.
  1997.         ???         matches anything 0 to 3 characters long.
  1998.         return      matches absence of comment or category.
  1999.  
  2000.     The  second type of wildcard allows you to search for charac-
  2001.     ters when you  don't know their position in the  string.  Es-
  2002.     sentially, this  is a  keyword search,  except that parts  of
  2003.     words can  also be matched.  Simply  begin the string with an
  2004.     asterisk  and put the text immediately after it.  The primary
  2005.     use  for this type of wildcard is for searching comments, but
  2006.     it also works for other string items.  For example:
  2007.  
  2008.         *LOTUS   matches a string containing the substring LOTUS.
  2009.         *123     matches a file name containing characters 123.
  2010.         **       matches any string which contains an asterisk
  2011.         ?*123.*  doesn't  work because  the  asterisk  isn't  the
  2012.                  first character.   123 will be  ignored; this is
  2013.                  equivalent to *.*.
  2014.  
  2015.     Options  4-8  select ranges  of  file,  subdirectory or  disk
  2016.     names.  For  example, using  option 4, "select  by file  name
  2017.     starting  from"  and the  wildcard FI*  would all  select all
  2018.     files with names beginning with FI, as  well as all files be-
  2019.     ginning with G,H,...   Suppose you have disks filed  in boxes
  2020.     of 100 and you want to make separate listings of the contents
  2021.     of each  group.  If the  disks have numbers as  part of their
  2022.     volume labels, either of the form 321UTILITY or MISC123, then
  2023.     combining options 8 and  -8, you could select files  on disks
  2024.     numbered  100 or  greater, and  reject disks numbered  201 or
  2025.     higher, thus effectively selecting range 100 to 200.
  2026.  
  2027.     Option 17, the zippy search, is a wildcard search which looks
  2028.     almost everywhere: file name, extension, comment  and catego-
  2029.     ry.  A leading asterisk is assumed; you must not add another.
  2030.     The more  comprehensive search  options are slower  than just
  2031.     looking  at the beginning of each string, but they aren't too
  2032.     bad.   The name zippy search is taken from a similar function
  2033.     in the PC Board bulletin board program; it's actually one the
  2034.     slowest selection options.
  2035.  
  2036.     Option 18,  select from previous  subset, is only  offered if
  2037.     you have previously selected files and have not done anything
  2038.     to invalidate the  selection list.  Possible uses include ed-
  2039.  
  2040. Wssindex 5.25                   24                     Print Menu
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.     iting the  previous selection if it included  too many files,
  2054.     printing  the  same set  of files  that  were just  viewed on
  2055.     screen, or re-viewing with different sort keys.
  2056.  
  2057.     The selected files are optionally sorted in ascending  or de-
  2058.     scending order by any combination of
  2059.  
  2060.         1. file name                7. date and time
  2061.         2. extension                8. category
  2062.         3. disk name                9. comment
  2063.         4. disk name as number     10. archive file name
  2064.         5. subdirectory            11. archive file extension
  2065.         6. size
  2066.     When  prompted, enter or edit a  comma-separated list of sort
  2067.     key numbers,  changing the sign for  any key you want  in de-
  2068.     scending order.  (The default list is configurable.)  Most of
  2069.     the keys are self-explanatory, but the last two need a little
  2070.     explanation.  If you have elected to extract information from
  2071.     archive files, the file  name and extension used with  keys 1
  2072.     and 2 for members of an archive file are those of the archive
  2073.     file member.   Thus, with only keys 1 and 2, the archive file
  2074.     members  sort by their own names.   Keys 10 and 11 select the
  2075.     archive file name for members of an archive file, or the usu-
  2076.     al name  for ordinary files.  In addition, there are two spe-
  2077.     cial conditions checked:
  2078.  
  2079.     1.  If sort keys 10 and 11 are used  and have higher priority
  2080.         than 1 and 2, the archive file itself will sort  ahead of
  2081.         any of its members; 
  2082.     2.  If keys 1 and 2 have higher priority than 10 and 11, then
  2083.         archive members (and other files) are sorted by their own
  2084.         names.
  2085.  
  2086.     An  interleaved list of keys  such as 1,10,2,11 will probably
  2087.     not do anything useful.   If there are multiple copies  of an
  2088.     archive  file, you will probably want to have the disk and/or
  2089.     subdirectory  as an  intermediate key  when sorting  first by
  2090.     archive file name.  To summarize, 10,11,3,4,1,2 will list ar-
  2091.     chive  members following  the containing archive  file, while
  2092.     1,2 will list all files alphabetically.
  2093.  
  2094.     Sorting by  category and  comment is case  insensitive.   Any
  2095.     votes  on whether  this should  also be  true for  disk name?
  2096.     There is a noticeable  time penalty for making the  sort case
  2097.     insensitive.
  2098.  
  2099.     The sort is done  using the Quicksort algorithm. The  sorting
  2100.     time for a randomly ordered database of N files is O(N*logN),
  2101.     i.e., for large number of files, the sort time is proportion-
  2102.     al to N*log(N).
  2103.  
  2104.  
  2105.  
  2106. Wssindex 5.25                   25                     Print Menu
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.     If you elect not to sort (sort key equal zero or just hit re-
  2120.     turn), the selected files  will appear in the order  they are
  2121.     found  in the database, unless the files were selected from a
  2122.     previously  sorted subset,  in which  case the  previous sort
  2123.     order is preserved.
  2124.  
  2125.     When  the sort is finished, you can select whether the output
  2126.     goes to  your printer,  screen, a disk  file or export.   For
  2127.     disk output you will be given the options of suppressing page
  2128.     headers and margins.  Disk output might be massaged by a text
  2129.     editor to change the format, read by another program, printed
  2130.     by a background printing utility  while you do something else
  2131.     in  the foreground,  or  transported to  another machine  for
  2132.     printing; it is  not readable  by the "G"  menu option.   For
  2133.     printer or disk  output, you will be given the  option to in-
  2134.     sert a variable number of blank lines whenever the first sort
  2135.     key changes (for screen output one blank line is inserted).
  2136.  
  2137.     Export  output is  in "Mailmerge"  format, a  standard format
  2138.     which can be read by many database programs.  Fields are sep-
  2139.     arated by a user-selected  character, normally a comma, hence
  2140.     this format  is often  called comma-delimited.   Fields which
  2141.     contain the separator character are surrounded by quotes, and
  2142.     fields which contain  a quote receive special handling.   For
  2143.     some database programs,  in particular Lotus 1-2-3, it may be
  2144.     necessary  to enclose all fields in quotes; you are given the
  2145.     option to do this.
  2146.  
  2147.     Information in the configuration file is used to select which
  2148.     fields  are printed  for each  file, and  to control  paging.
  2149.     When  screen  output is  selected, you  can page  forward and
  2150.     backward with  the PgUp and PgDn  keys, go to the  top of the
  2151.     list with the HOME key (PF1 key for DEC Rainbow) or return to
  2152.     the main menu by hitting Q (or escape).  Control-s will pause
  2153.     any screen display; control-c will abort printing.
  2154.  
  2155. F - Find a file in the database
  2156.     Find is equivalent to  Print (described above) to the  screen
  2157.     unsorted.
  2158.  
  2159. ^F - Quick Find (control-f)
  2160.     Quick  find is  equivalent to  Print  with screen  output and
  2161.     files selected by name only.
  2162.  
  2163. Z - Zippy text search
  2164.     This option is equivalent to Print, with selection option 17,
  2165.     unsorted,  with output  to  the screen.    That is,  you  are
  2166.     prompted for a  string to  search for in  file names,  exten-
  2167.     sions, comments and categories.
  2168.  
  2169.  
  2170.  
  2171.  
  2172. Wssindex 5.25                   26                     Print Menu
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185. D - List Duplicate files
  2186.     This option  lists all files which match the selection crite-
  2187.     ria  and have duplicates (which  also match).   Only the file
  2188.     name and extension,  and optionally the  time stamp and  file
  2189.     size, are  used to decide  whether two files  are duplicates.
  2190.     The dummy entries for volumes and subdirectories are automat-
  2191.     ically excluded.
  2192.  
  2193. U - List Unique files
  2194.     This option lists all files which match the selection  crite-
  2195.     ria and  do not have  duplicates which also  match.   This is
  2196.     similar to the "B" option, but checks all files in a database
  2197.     rather than just those on  a single disk.  The  dummy entries
  2198.     for  volumes and  subdirectories are  automatically excluded.
  2199.     As with the  "D" option, you can optionally  require matching
  2200.     time  stamps or sizes before  two files are considered dupli-
  2201.     cates.
  2202.  
  2203. B - List files which are not Backed up
  2204.     This option is intended primarily for listing files on a hard
  2205.     disk which have not been  backed up, but can also be  used on
  2206.     floppies.   A file is  considered to be backed  up if another
  2207.     file with  the same name  and the same  or later time  tag is
  2208.     found on another disk  (possibly in an archive file).   Exact
  2209.     time and size matches are not required because some copy pro-
  2210.     grams do  not preserve the time  stamp, or even the  size for
  2211.     files which are not padded to a full disk sector.
  2212.  
  2213.     When you select this  option, you are given the  usual selec-
  2214.     tion options  (described under  the "P"  option).   These are
  2215.     applied to both the disk being checked for backups and to all
  2216.     other  files in your database.   Thus, selecting  by some op-
  2217.     tions,  such as disk name, doesn't make much sense.  However,
  2218.     to  allow checking a subdirectory  rather than an entire disk
  2219.     for backups, any subdirectory selection criteria  are applied
  2220.     only to files on the  disk being checked for backup.   On the
  2221.     other hand,  subdirectory rejection criteria  are applied  to
  2222.     all files.  Since only files from a single disk will be list-
  2223.     ed,  you might as well set the configuration to skip printing
  2224.     the  disk name (it will be listed  in the title anyway).  You
  2225.     will  almost certainly want to  use an exception  list to ex-
  2226.     clude *.BAK  (or whatever your favorite  word processing pro-
  2227.     gram names its backup files).  The dummy .ID entries for vol-
  2228.     umes and  subdirectories are automatically excluded.   If you
  2229.     are using the configured exception list, don't  forget to re-
  2230.     quest selection option 13 to use the list, otherwise you will
  2231.     have to stop the listing and try again.  After selection, the
  2232.     database is  sorted using an  internally defined set  of sort
  2233.     keys.
  2234.  
  2235.     If you have  a hard  disk which is  logically partitioned  so
  2236.     that it looks like multiple disks, you probably don't want to
  2237.  
  2238. Wssindex 5.25                   27                     Print Menu
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.     consider a file to  be backed up  just because it appears  in
  2252.     two partitions.   To avoid this problem you can either load a
  2253.     database  with only  floppies included,  then index  a single
  2254.     partition  before checking it for backups, or you can use the
  2255.     "R"  option to remove all  but one partition  from your data-
  2256.     base.
  2257.  
  2258.     See also the  "U" option for checking backups on all disks at
  2259.     once.
  2260.  
  2261.     If you use a backup utility which creates special files which
  2262.     only it can  read, you probably will not  find the "B" option
  2263.     useful.
  2264.  
  2265. V - List Volume names
  2266.     The  volumes in the database are listed to printer, screen or
  2267.     disk, sorted by name, by  decreasing free space, backwards by
  2268.     date  indexed, or unsorted (which  will be about  the same as
  2269.     forward by date  indexed unless the  database was created  by
  2270.     merging two databases).
  2271.  
  2272.     When sorting by volume name, you can either treat the name as
  2273.     a text string or  you can extract  any numerical part of  the
  2274.     name and use that as  the key.  As a text  string, "DISK 100"
  2275.     would  sort before "DISK 2", but if the numerical part is ex-
  2276.     tracted, "DISK 2" sorts first.  If  a disk label has two dis-
  2277.     tinct numeric parts, only the first is used as a numeric sort
  2278.     key.
  2279.  
  2280.     The printer configuration information is used to control pag-
  2281.     ing  for printer output; for screen output, you can page for-
  2282.     ward and backward  with the PgUp and PgDn keys,  or hit Q (or
  2283.     escape)  to return to the menu.   The display for each volume
  2284.     includes the volume name, the number of free bytes, the total
  2285.     number  of bytes  available, the  number of  files (excluding
  2286.     hidden files),  the number  of subdirectories other  than the
  2287.     root directory, the date the disk was last added to the data-
  2288.     base,  whether or not the disk is bootable and optionally any
  2289.     comments entered  describing the disk.   The disk  is assumed
  2290.     bootable  if it has a  COMMAND.COM file, the  presence of the
  2291.     hidden  system files is not verified.  You may abort printing
  2292.     by hitting control-c.
  2293.  
  2294. ^V - Quick list of Volume names (control-v)
  2295.     This option lists the  volume names to the screen,  sorted by
  2296.     name and without comments.
  2297.  
  2298. Output options  on the right half  of this menu are  designed for
  2299. printer output.  Output may be directed to  the screen (or disk),
  2300. but will not pause when the  screen fills.  Control-s may be used
  2301. to pause screen output.   A printer definition file  is automati-
  2302. cally  read the first time you select  one of these options.  See
  2303.  
  2304. Wssindex 5.25                   28                     Print Menu
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317. Appendix  E if you need information on creating a printer defini-
  2318. tion file.
  2319.  
  2320. M - Multi-column listings
  2321.     Similar to the "P"  option, but an additional prompt  is made
  2322.     for the  number of columns used for  the printed output.  The
  2323.     output page width  (from the printer definition file) will be
  2324.     divided into the requested number of columns, separated by at
  2325.     least two spaces.   Comments and categories will go  to sepa-
  2326.     rate lines if necessary and so configured.
  2327.  
  2328.     Note: if the  fields prior to the  subdirectory name selected
  2329.     for printing do not fit  in the column width, output  will be
  2330.     truncated, probably in the middle of a field.
  2331.  
  2332.     In order to  produce columnar output running down rather than
  2333.     across the page, an entire page is formatted in memory before
  2334.     printing anything.  On slower machines, this leads to a delay
  2335.     of a few  seconds at the start  of each page.  A  hardware or
  2336.     software print spooler may  enable you to drive your  printer
  2337.     more efficiently.   You  must have  enough memory  left after
  2338.     loading  the  database  to  hold  an  entire  formatted  page
  2339.     (slightly more than page width times page length bytes).
  2340.  
  2341.     You  can  include a  printer  initialization  command in  the
  2342.     printer definition  file which will  be sent to  your printer
  2343.     before multi-column output is started.
  2344.  
  2345. T - MulTi-column listing  of duplicate,  unique or not  backed up
  2346.     files
  2347.     This  option selects duplicate or unique files, or files on a
  2348.     particular disk which are not duplicated on another disk, and
  2349.     lists them in multiple columns.
  2350.  
  2351. C - Disk Covers
  2352.     A disk cover is a listing of all the files  on a single disk,
  2353.     small enough to fit into a disk envelope or be  pasted on the
  2354.     front of the envelope.  (You could even  define a small cover
  2355.     format and print it on  a label as an alternative to  the "L"
  2356.     option format labels.)  The edges are marked by a box to make
  2357.     cutting to size  easy.  You can  select which disks  to print
  2358.     covers for by  volume name (with wildcards), date  indexed or
  2359.     disk  size.  (3.5", 5.25"  and other sizes  are recognized by
  2360.     disk capacity.  Odd  disk formats may not be  identified cor-
  2361.     rectly.)   The output  format is similar  to the multi-column
  2362.     output described above, plus  a header with information about
  2363.     the disk.   You will  be prompted for  the desired number  of
  2364.     print columns.
  2365.  
  2366.     The fields  printed are  selected by the  usual configuration
  2367.     menu.  The disk name and subdirectory names are printed sepa-
  2368.     rately,  so you  should not  include them  in  the configured
  2369.  
  2370. Wssindex 5.25                   29                     Print Menu
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.     print fields.  If you use the printer definition in the  sup-
  2384.     plied file GENEPSON.DEF, you can fit file size, date and time
  2385.     in 2 columns, date or  size in 3 columns, or file  names only
  2386.     in 4 or  5 columns.  In  a single column, you  could even fit
  2387.     comments  of moderate length.  The  characters which are used
  2388.     to form  the box around the cover  when printing may not look
  2389.     at all like  box forming characters  on your monitor  screen.
  2390.     The supplied file SCREEN.DEF has more appropriate box charac-
  2391.     ters, and also sets the  width to fit on an 80  column screen
  2392.     (which might  not be what you  want to do if  you are experi-
  2393.     menting to  see what will  fit on a  printer).  To  avoid the
  2394.     necessity  of changing  the  configuration by  hand (and  the
  2395.     probability of forgetting which parameters work best) whenev-
  2396.     er you print covers, you will almost certainly want to have a
  2397.     special configuration  file to  control the printing  of disk
  2398.     covers.
  2399.  
  2400.     Note: as  with multi-column  output, if the  configured print
  2401.     items do not fit in the column width, they will be truncated,
  2402.     probably in the middle of a field.
  2403.  
  2404.     When sorting files for disk covers, the disk name must be the
  2405.     primary sort  key.  Cover printing  enforces this requirement
  2406.     and the prompt for sort  options shows 3 as the first  key in
  2407.     the list, followed by  any configured sort keys.   You cannot
  2408.     print covers without sorting,  so you might as well  add file
  2409.     name and extension  or other  sort options in  the order  you
  2410.     prefer.
  2411.  
  2412.     If you want to print disk covers for any disks with subdirec-
  2413.     tories, and these disks were added to your database by a ver-
  2414.     sion  of WSSINDEX  older than  3.2, then  you should  run the
  2415.     IDADD utility on your database first.  If you do not do this,
  2416.     the disk cover will not include subdirectory names.
  2417.  
  2418. L - Disk Labels
  2419.     Disk labels are meant  to be printed on small,  self adhesive
  2420.     forms and pasted on your disks.  Suitable forms are generally
  2421.     1 by 3 inches or smaller, so there is only room for a limited
  2422.     amount of information.   WSSINDEX prints the disk  volume id,
  2423.     total and free space, date indexed, number of files (and sub-
  2424.     directories, if  any), descriptive comments for  the disk and
  2425.     subdirectories (if found in database), and directory info for
  2426.     as many  files as will  fit, starting from the  largest.  You
  2427.     can also specify one  line of text in the  printer definition
  2428.     file, such  as your name, which will be printed at the bottom
  2429.     of  every label.  You can select  which disks to print labels
  2430.     for by a wildcard name, by date indexed or by size.
  2431.  
  2432.     Blank label forms which are one or several labels wide may be
  2433.     used.   You can  also direct output  to the screen  or a disk
  2434.     file.
  2435.  
  2436. Wssindex 5.25                   30                     Print Menu
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.     Another option for printing disk labels is the shareware pro-
  2450.     gram Disk  Labeling System, DLS, (Jim  Clark, 2130 Knollshire
  2451.     Road, Cedar Rapids, Iowa   52402).  Version  2.0 or later  of
  2452.     this program can print disk labels  from a Wssindex database.
  2453.     DLS can be downloaded from the WSS/DDC Tech Support BBS.
  2454.  
  2455.     I am occasionally asked  for a source for blank  disk labels.
  2456.     One vendor I have dealt with is Disks & Labels to Go, Rte 206
  2457.     Eastampton Business  Park, Mount  Holly, NJ   08060, 800-426-
  2458.     3303.
  2459.  
  2460. R - Read a printer definition file
  2461.     Normally, a printer definition file is read automatically the
  2462.     first time you select a print operation which requires a def-
  2463.     inition file,  so this option is  only needed if you  want to
  2464.     use  two different configurations in  the same session, or if
  2465.     you have  used the S  option to run  an editor to  change the
  2466.     definition file.  The default name of  the printer definition
  2467.     file is the first of
  2468.  
  2469.     1.  The last printer definition file read
  2470.     2.  The DOS  environment variable  WSSPRINT (DOS  command set
  2471.         WSSPRINT=filespec)
  2472.     3.  WSSPRINT.DEF
  2473.  
  2474.     which is defined.  The default name may be edited in the usu-
  2475.     al manner,  and  TAB brings  up  a full-screen  selection  of
  2476.     printer definition files.
  2477.  
  2478.     See Appendix E for a discussion of the format of printer def-
  2479.     inition files.
  2480.  
  2481. O - COnfiguration menu
  2482.     This  option takes  you  to the  primary configuration  menu.
  2483.     From  there, you  can make  changes or  save a  configuration
  2484.     file. 
  2485.  
  2486. R - Return to main menu
  2487.     Returns to previous menu.
  2488.  
  2489.                           Indexing Menu
  2490.  
  2491. Additions to the database are made from  this menu.  Many control
  2492. options are found here, but a  few are only available on the con-
  2493. figuration menus.
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502. Wssindex 5.25                   31                     Print Menu
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  +-------------------------------------------------------------+
  2516.  |                    Wssindex Indexing Menu                   |
  2517.  |                                                             |
  2518.  | Start Indexing            Ask before replacing           NO |
  2519.  | Dummy entry index         Auto-Comment                   NO |
  2520.  | IndeX ignoring labels     AUto-category                  NO |
  2521.  | ^D list directory         Make .ID entries              YES |
  2522.  | Label disk                DummY entries inc subdir tree  NO |
  2523.  | COnfiguration menu        Query archive extraction       NO |
  2524.  | Return to main menu       Index Hidden files             NO |
  2525.  | First indexing drive   A  Ignore bacKed up files         NO |
  2526.  | Second indexing drive  A  Extract archive comments       NO |
  2527.  | LaBeling drive         A                                    |
  2528.  | Indexing sTarts from   (none)                               |
  2529.  | Auto-category strinG   (none)                               |
  2530.  +-------------------------------------------------------------+
  2531.                  Figure 4. Wssindex Indexing Menu
  2532.  
  2533.  
  2534. I - Start Indexing
  2535.     Insert the first disk  to be indexed into the  first indexing
  2536.     drive and hit the space bar when ready.   The processing time
  2537.     is roughly proportional to  the number of files on  the disk,
  2538.     and will typically be only  a few seconds for a  floppy disk.
  2539.     If  the disk is not labeled, you  will be given the option to
  2540.     either  write  a label  on the  disk,  enter an  11 character
  2541.     string to be used in place of a label, list the disk directo-
  2542.     ry or abort back to the menu.  See the "L" option below for a
  2543.     discussion  of "legal" volume names.   If the  Ask before re-
  2544.     placing option is  YES, you  will be informed  if the  volume
  2545.     name matches a volume  already in the database and  given the
  2546.     option  to replace the previous  entry or not  enter the disk
  2547.     into  the database.  Wssindex will  also look at the time tag
  2548.     of the label, compare  it to the  time tag of the  previously
  2549.     indexed disk, and tell you whether the disk appears to really
  2550.     be the same one  or a different one  with a duplicate  volume
  2551.     label.  This test  is not foolproof; a DISKCOPY'ed  disk will
  2552.     have the same time tag.  Versions of  Wssindex older than 5.2
  2553.     did not record  the time tag  for volume labels,  so you  may
  2554.     also be told that the time tag is not available.   The infor-
  2555.     mative  message "NO FILES MATCH d:\*.*"  will be generated if
  2556.     there  are no files in the root directory, along with similar
  2557.     messages for other  empty directories.  When prompted you may
  2558.     either insert  another disk (in the  alternate indexing drive
  2559.     if  configured to alternate drives) and hit the space bar, or
  2560.     hit any other key to return to the menu.
  2561.  
  2562.     An  important feature: if you replace a disk in the database,
  2563.     any comments or categories which have been previously entered
  2564.     are not  lost, they are copied  over to the new  entry if the
  2565.     file and subdirectory names match.  Thus you should feel free
  2566.     to re-enter a disk into the database after even small changes
  2567.  
  2568. Wssindex 5.25                   32                  Indexing Menu
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.     have  been made.  During a replacement operation, the old and
  2582.     new entries are temporarily  in memory at the same  time, and
  2583.     both  count toward the limits  on the number  of files, disks
  2584.     and subdirectories.
  2585.  
  2586.     There is one  circumstance which could make replacing  a disk
  2587.     in the database very  time consuming.  The code  which copies
  2588.     old comments to new entries is a straightforward doubly nest-
  2589.     ed loop, which means that the running time is roughly propor-
  2590.     tional to the square of the number  of commented files.  This
  2591.     is not a problem with floppy disks which seldom have even 100
  2592.     files, but on a hard disk with a few thousand files, the pro-
  2593.     cessing time could stretch  to several minutes.   The obvious
  2594.     solution is to  sort both  sets of names  first, which  would
  2595.     reduce  the processing time  for commented disks,  at the ex-
  2596.     pense  of increasing it for non-commented ones, and I may im-
  2597.     plement this in  a future release.   Comments from registered
  2598.     users are  solicited.   (Does anyone actually  comment enough
  2599.     files on their hard disk to  make this a problem?  So far  no
  2600.     one  has complained  about replacement  time.)  It  may prove
  2601.     worthwhile to go back to the main menu and delete a huge disk
  2602.     from the database before reindexing it.
  2603.  
  2604. D - Add Dummy entries
  2605.     This option is similar to the "I" option, but does not make a
  2606.     complete database  entry.   Instead, the database  entry will
  2607.     show that there is only the dummy zero-length file named .ID.
  2608.     (The  volume name, free space and total disk space will match
  2609.     the  actual disk directory.)   This allows you  to record the
  2610.     existence of a disk when you  don't want to include the  file
  2611.     names, say for  a program master  disk which contains  driver
  2612.     files for many different printers, graphics cards, etc.   The
  2613.     .ID file is a place to hang a descriptive comment and catego-
  2614.     ry.  Older  versions of WSSINDEX used DUMMY_EN.TRY instead of
  2615.     .ID; the auxiliary routine IDADD will translate such entries.
  2616.     The  Make .ID entries option must be  set to YES before dummy
  2617.     entries can be made.
  2618.  
  2619. X - IndeX ignoring labels
  2620.     This option allows indexing of disks  with manual override of
  2621.     the volume name.  The volume  name is displayed, and you  can
  2622.     either accept it or type in  an alternate (so the label isn't
  2623.     really ignored).  The label on the disk is not  altered.  The
  2624.     mode of operation is suggested for things like write-protect-
  2625.     ed master disks which  might all have  the same label (or  no
  2626.     label at all).
  2627.  
  2628. ^D -List directory (control-d)
  2629.     This  option performs the  same way on  this menu  as it does
  2630.     from the main menu (page 18).
  2631.  
  2632.  
  2633.  
  2634. Wssindex 5.25                   33                  Indexing Menu
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647. L - Label a disk on the labeling drive
  2648.     A volume label is an optional entry in a disk directory which
  2649.     looks much like a  file name, but is given  special treatment
  2650.     by DOS.   If present, it can  be displayed by the  DOS DIR or
  2651.     VOL commands.  Labels are usually written when a disk is for-
  2652.     matted,  but  can  be   added  later  by  various  utilities.
  2653.     WSSINDEX uses the volume name to distinguish different disks.
  2654.  
  2655.     This  option displays the  current volume label,  if any, and
  2656.     prompts you for a  new label.  A carriage return  aborts back
  2657.     to  the menu without changing anything.  The labeling is done
  2658.     by  a DOS call, so DOS restrictions on allowed characters ap-
  2659.     ply (in particular, your  input will be forced to  upper case
  2660.     because lower  case letters are  not allowed, but  blanks are
  2661.     ok).  If in doubt, try the label you  want to use; an illegal
  2662.     name  will be rejected with no harmful consequences.  I would
  2663.     suggest  that you not trust  a copy protected  master disk to
  2664.     any  disk labeling program; who knows what sort of games they
  2665.     might  have  played with  the  directory.   I  also recommend
  2666.     against writing on  a 360K disk in a 1.2  MB drive since this
  2667.     could make it unreadable on some 360K drives.
  2668.  
  2669.     Note: if you  have a disk with a mixed  case label (which you
  2670.     can easily  create with  the Norton Utilities  or some  other
  2671.     programs), WSSINDEX will not be able to change the label (DOS
  2672.     rename call fails).  If you need to change such a label while
  2673.     Wssindex  is running, you can  use the DOS  Shell option from
  2674.     the main  menu to run a labeling  utility.  Disks with labels
  2675.     differing only  in case are  considered to be  different when
  2676.     adding  disks to  the database,  but cannot  be distinguished
  2677.     when selecting by volume name.   If you use really weird vol-
  2678.     ume  labels, such  as ANSI  cursor positioning  commands, you
  2679.     probably deserve whatever happens to you.
  2680.  
  2681.     Technical  note: disk labeling  in Wssindex/Extended uses the
  2682.     LABELDLL.DLL  file.  This is a real mode program which inter-
  2683.     faces with DOS to write or change labels.  No other method of
  2684.     manipulating labels seems to work under all DPMI hosts.
  2685.  
  2686. O - COnfiguration menu
  2687.     This  option takes  you  to the  primary configuration  menu.
  2688.     From there, you can make changes or save a configuration file
  2689.     including the control settings from the indexing menu.
  2690.  
  2691. R - Return to main menu
  2692.     This option returns you to the main menu.
  2693.  
  2694. F - First indexing drive
  2695. S - Second indexing drive
  2696. B - LaBeling drive
  2697.     These  three options select the drive letters used for index-
  2698.     ing or labeling  disks.  If you  only have one  floppy drive,
  2699.  
  2700. Wssindex 5.25                   34                  Indexing Menu
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.     the three  drive letters will usually be  identical, but they
  2714.     can be changed to index or label hard disk partitions.
  2715.  
  2716. T - Indexing sTarts from
  2717.     This option allows for  partial indexing of a disk.   Instead
  2718.     of  starting from the root directory and including all files,
  2719.     only  files in or below  the specified directory are indexed.
  2720.     (The disk volume  label is  read from the  root directory  as
  2721.     usual.)  The format of the subdirectory specification will be
  2722.     adjusted  to canonical form so  you need not  worry about de-
  2723.     tails like whether a leading or trailing backslash is needed.
  2724.     Making a partial  index might be useful as  the first step in
  2725.     checking a critical subdirectory  for backups, or as  a means
  2726.     of indexing a CD  ROM or very large  disk which contains  too
  2727.     many files to fit in a single database.
  2728.  
  2729. G - Auto-category strinG
  2730.     This  is the string which is used for the category if config-
  2731.     ured to add categories automatically.
  2732.  
  2733. A - Ask before replacing
  2734.     This  flag controls the action  taken when a  volume label is
  2735.     found which matches one already in the database.  If YES, you
  2736.     are  asked whether to replace the existing database entry; if
  2737.     NO,  the entry  is replaced  automatically.   Generally, this
  2738.     flag  should be YES when  indexing a collection  of disks for
  2739.     the  first time  since  duplicate volume  names on  different
  2740.     disks  are easy to generate.  On  the other hand, if you have
  2741.     not kept track of which disks have been changed without being
  2742.     re-indexed and are re-indexing disks  you know are already in
  2743.     the database, you can set the  flag to NO and replace without
  2744.     verification.
  2745.  
  2746. C - Auto-Comment
  2747.     If YES, you are transferred  to the add-comments screen after
  2748.     each disk is indexed.  All files on the disk just entered are
  2749.     selected for commenting.
  2750.  
  2751. U - AUto-category
  2752.     If  YES, all files on disks indexed are assigned the category
  2753.     shown in  the auto-category string.   Assigning categories to
  2754.     everything uses  up database  storage space, so  don't enable
  2755.     this option unless you need it.
  2756.  
  2757. M - Make .ID entries
  2758.     In  order to record the subdirectory structure of a disk, and
  2759.     to allow comments to be assigned to disks and subdirectories,
  2760.     it is necessary to make special database entries for the vol-
  2761.     ume label and  each subdirectory.   These  entries look  like
  2762.     files with the (illegal)  name .ID.  These entries  count to-
  2763.     wards the limits on the number of files, so if you don't want
  2764.  
  2765.  
  2766. Wssindex 5.25                   35                  Indexing Menu
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  
  2779.     to assign comments  to disks or  subdirectories, you can  set
  2780.     this option to NO and decrease the database size slightly.
  2781.  
  2782. Y - DummY entries include subdirectory tree
  2783.     If this option is set  to YES, dummy entry indexing will  in-
  2784.     clude  the entire subdirectory tree;  if set to  NO, only one
  2785.     entry will be made for the volume id.
  2786.  
  2787. Q - Query archive extraction
  2788.     You may  want to extract file information  only from selected
  2789.     archive  and graphics files.  If  this option is YES, you are
  2790.     asked before file information is extracted from any file with
  2791.     an extension in one of the extraction lists.
  2792.  
  2793. H - Index Hidden files
  2794.     Bootable disks have two  hidden files which are not  shown by
  2795.     the DOS  DIR command.   If this option  is set to  YES, these
  2796.     files are included when a disk is indexed, otherwise they are
  2797.     ignored.   (Indexing of any  other hidden files  is also con-
  2798.     trolled by this flag.)
  2799.  
  2800. K - Ignore bacKed up files
  2801.     One version of Wssindex had a  bug which caused it to not see
  2802.     files which had the  archive bit clear when indexing  a disk.
  2803.     (The archive bit is a flag in the directory entry  for a file
  2804.     which is set  when a file is created or  modified and cleared
  2805.     by some backup programs.)  One user felt that this was a fea-
  2806.     ture and asked that it be made a program option.   Most users
  2807.     will  want to set this option to NO, but a YES setting can be
  2808.     used in  conjunction with the  DOS ATTRIB command  to control
  2809.     which files are indexed.
  2810.  
  2811. E - Extract archive comments
  2812.     Some of the archive formats allow comments for the archive or
  2813.     members.  If this  option is YES, and extraction  of informa-
  2814.     tion from the appropriate archive file type  is enabled, such
  2815.     comments are extracted, filtered to remove unprintable  char-
  2816.     acters, and assigned to database files.  On the indexing con-
  2817.     figuration menu, you can elect to extract comments describing
  2818.     the archive files without  extracting file information.  This
  2819.     flag does not control whether image size and number of colors
  2820.     are extracted from graphics files.
  2821.  
  2822.                     Primary Configuration Menu
  2823.  
  2824. Most of  the items in this  menu lead to sub-menus  which are de-
  2825. scribed in detail below.   The exceptions are the options to load
  2826. or save a  configuration file, and, of course, the  option to re-
  2827. turn to the previous menu.   When loading or saving a  configura-
  2828. tion file, the  prompt shows the file name which  will be used by
  2829. default.  You can  accept this default by hitting  return, or you
  2830. can edit the file name using cursor keys, insert/delete, etc.
  2831.  
  2832. Wssindex 5.25                   36                  Indexing Menu
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.               +------------------------------------+
  2846.               |    Primary Configuration Menu      |
  2847.               |                                    |
  2848.               | Printer configuration              |
  2849.               | SiZe limits                        |
  2850.               | Indexing options                   |
  2851.               | Screen, keyboard and Miscellaneous |
  2852.               | Default sorting/selection options  |
  2853.               | Keyboard macros                    |
  2854.               | Configured Exception list          |
  2855.               | Which fields to print              |
  2856.               | Output Format                      |
  2857.               |                                    |
  2858.               | Load configuration file            |
  2859.               | Save configuration file            |
  2860.               |                                    |
  2861.               | Return to previous menu            |
  2862.               +------------------------------------+
  2863.           Figure 5. Wssindex Primary Configuration Menu
  2864.  
  2865.  
  2866. P - Printer configuration
  2867.     Leads to a menu describing printer characteristics.
  2868.  
  2869. Z - SiZe limits
  2870.     Leads to a menu to set database size limits.
  2871.  
  2872. I - Indexing options
  2873.     Leads to a menu of options controlling behavior when indexing
  2874.     disks.
  2875.  
  2876. M - Screen, keyboard and Miscellaneous
  2877.     Leads to a menu of miscellaneous items.
  2878.  
  2879. D - Default sorting/selection options
  2880.     Leads  to a menu  for entering default  sorting and selection
  2881.     options.
  2882.  
  2883. K - Keyboard macros
  2884.     This option displays the 26 keyboard macros available by hit-
  2885.     ting Alt-letter in the add-comments section (or anywhere else
  2886.     that multi-character text input is allowed) and allows you to
  2887.     change them.   These macros are  stored in the  configuration
  2888.     file,  not the database file.   If you make any changes here,
  2889.     you  will be given the  option to save  a configuration file.
  2890.     (In  earlier releases, keyboard macros were called predefined
  2891.     categories  and  could  only  be  used  in  the  add-comments
  2892.     screen.)
  2893.  
  2894. E - Configured Exception list
  2895.     The  exception list is list  of up to  100 special case names
  2896.     which can be excluded  from printing.  By default,  this list
  2897.  
  2898. Wssindex 5.25                   37     Primary Configuration Menu
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.     consists  of only COMMAND.COM, but you might also want to add
  2912.     *.BAK, AUTOEXEC.BAT or anything else you have many copies of.
  2913.     Wild card names are  allowed.  List entries are made in full-
  2914.     screen mode (the same as is optionally used for entering file
  2915.     specifications when selecting files).  This list is only used
  2916.     if you  ask for it  as one  of the selection  options.   This
  2917.     semi-permanent list  serves the same purpose  as the one-shot
  2918.     rejection list which you can enter whenever selecting files.
  2919.  
  2920. W - Which fields to print
  2921.     Leads to a menu for selecting what information to print.
  2922.  
  2923. F - Output Format
  2924.     Leads to a menu for controlling output format.
  2925.  
  2926. L - Load configuration file
  2927. S - Save configuration file
  2928.     Configuration files  hold the option settings  entered in the
  2929.     various menus,  including the keyboard macros.   You can save
  2930.     or load a configuration file at  any time, but a newly loaded
  2931.     configuration file cannot change  the database size limits if
  2932.     a database  is currently in  memory.   If you  attempt to  do
  2933.     this, you will be given the option to clear the loaded  data-
  2934.     base.  If  you decline, all configuration options  except the
  2935.     changed size limits will take effect.
  2936.  
  2937.     If  you read or save  a configuration file,  the default file
  2938.     name is the first of
  2939.  
  2940.     1.  The last configuration file saved or read
  2941.     2.  The first command line argument
  2942.     3.  The DOS  environment variable  WSSICNF  (DOS command  set
  2943.         WSSICNF=filespec)
  2944.     4.  WSSINDEX.CNF (with  drive and  path whatever was  current
  2945.         when the program was loaded)
  2946.  
  2947.     which is defined.  The default name can be edited in the usu-
  2948.     al  manner, and TAB brings up a full-screen selection of con-
  2949.     figuration  files.  If an error is encountered when reading a
  2950.     configuration file, WSSINDEX will assume the worst and revert
  2951.     to  using the  screen  output method  set by  the environment
  2952.     variable  WSSDISP, or determined  automatically if WSSDISP is
  2953.     not defined.
  2954.  
  2955.     The format of the configuration file often  changes from ver-
  2956.     sion to version; compatibility is not guaranteed.  Usually  I
  2957.     try to arrange  things so  that most information  can be  ex-
  2958.     tracted from an older configuration  file before a read error
  2959.     occurs, but major program upgrades always  seem to require so
  2960.     many new  configuration items that  maintaining compatibility
  2961.     with  older configuration files is not always possible.  Gen-
  2962.     erally, Wssindex will  realize that it is reading an obsolete
  2963.  
  2964. Wssindex 5.25                   38     Primary Configuration Menu
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.     format before very many  garbage values have been read.   One
  2978.     of the  first things you should  do with a new  version is to
  2979.     review your configurations settings.
  2980.  
  2981. R - Return to previous menu
  2982.     Returns to higher level menu.
  2983.  
  2984.  
  2985.                     Printer Configuration Menu
  2986.  
  2987. Items in this menu  define the characteristics of your  printer. 
  2988. They are  also used for disk output, but have no effect on screen
  2989. output.   Distances on a printed page are expressed in characters
  2990. and  lines.  Proportionally spaced fonts  are not supported; they
  2991. will cause misaligned columns.
  2992.  
  2993.             +---------------------------------------+
  2994.             |      Printer configuration menu       |
  2995.             |                                       |
  2996.             | Paper Width to right margin        80 |
  2997.             | Paper Length                       66 |
  2998.             | Left Margin                         0 |
  2999.             | Top margin                          3 |
  3000.             | Bottom margin                       8 |
  3001.             | Use Form feeds                    YES |
  3002.             | Pause at page breaks               NO |
  3003.             | Printer port Name                LPT1 |
  3004.             |                                       |
  3005.             | POstscript printer setup              |
  3006.             |                                       |
  3007.             | Return to primary configuration menu  |
  3008.             +---------------------------------------+
  3009. Figure 6. Wssindex Printer Configuration Menu.  Some commands use
  3010. additional printer controls from the printer definition file.
  3011.  
  3012.  
  3013. W - Paper Width to right margin
  3014.     This  is the width of  the paper, less  any desired allowance
  3015.     for a right margin.  (The number entered here does not depend
  3016.     on the left margin  setting.)  If your printer  does an auto-
  3017.     matic carriage return and linefeed when a character is print-
  3018.     ed in the rightmost column, you  should set the width to pre-
  3019.     vent  using this column.  Page numbers are right justified to
  3020.     the page width setting.
  3021.  
  3022. L - Paper Length
  3023.     This is the length  of the paper, typically  66 lines for  11
  3024.     inch paper at  6 lines per inch, but slightly  smaller (60 or
  3025.     62) for laser printers which can't print on the first or last
  3026.     few lines of a page, or larger for A4 size paper.
  3027.  
  3028.  
  3029.  
  3030. Wssindex 5.25                   39     Primary Configuration Menu
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043. M - Left Margin
  3044. T - Top margin
  3045. B - Bottom margin
  3046.     The number of spaces or lines  to leave blank in each margin.
  3047.     Note that a right margin allowance is made by using a smaller
  3048.     paper width specification.
  3049.  
  3050. F - Use Form feeds
  3051.     Most, but not all, printers respond to a form feed command to
  3052.     eject  the current page.  For printers which do not recognize
  3053.     form feeds,  set this option  to NO and page  advance will be
  3054.     done by inserting blank lines.  The disadvantage of disabling
  3055.     this option  is that if some glitch messes up the line count-
  3056.     ing, the  error will   propagate to following  pages, whereas
  3057.     doing a line feed resynchronizes the program and printer line
  3058.     counting.   Depending on  your printer,  if you are  printing
  3059.     with zero bottom margin, it may be necessary to set  this op-
  3060.     tion to NO to prevent printing every other page blank.
  3061.  
  3062. P - Pause at page breaks
  3063.     If  a manual-feed sheet printer  is used, set  this option to
  3064.     YES so that output will pause for paper change.
  3065.  
  3066. N - Printer port Name
  3067.     The  default printer port is device PRN, which is usually the
  3068.     same as LPT1.   You may select PRN, LPT1,  LPT2, LPT3 or EPT.
  3069.     If you have a serial printer, and port  PRN doesn't work, use
  3070.     the  DOS mode command to redirect LPT1 to the appropriate COM
  3071.     port.
  3072.  
  3073. O - POstscript printer setup
  3074.     Leads to menu for selecting postscript options.
  3075.  
  3076.                   Postscript Printer Setup Menu
  3077.  
  3078.             +---------------------------------------+
  3079.             |       Postscript Printer Setup        |
  3080.             |                                       |
  3081.             | Use Postscript printer            YES |
  3082.             | Disk output also postscript        NO |
  3083.             | Landscape output                   NO |
  3084.             | Font Size (points)                 10 |
  3085.             | Extra line spacing (points)         2 |
  3086.             |                                       |
  3087.             | Return to previous menu               |
  3088.             +---------------------------------------+
  3089. Figure 7. Wssindex Postscript Printer  Setup Menu.  Some commands
  3090. use additional printer controls from the printer definition file.
  3091.  
  3092. P - Use Postscript printer
  3093.     Select YES  if you want  to use a  postscript printer.   Note
  3094.     that  Wssindex does  not take  full advantage  of power  of a
  3095.  
  3096. Wssindex 5.25                   40     Printer Configuration Menu
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.     postscript printer.   In  particular, only Courier  fonts are
  3110.     supported because that's the only non-proportional font which
  3111.     all postscript printers contain.
  3112.  
  3113. D - Disk output also postscript
  3114.     Select  YES if output directed  to disk should  also be post-
  3115.     script format.
  3116.  
  3117. L - Landscape output
  3118.     Select YES for  landscape (90 degree  rotated) output.   Note
  3119.     that for non-postscript  printers, landscape output  can only
  3120.     be selected by commands in a printer definition file.
  3121.  
  3122. S - Font Size (points)
  3123. E - Extra line spacing (points)
  3124.     Print size  and inter-line  spacing are specified  in points;
  3125.     there  are approximately 72 points in one inch.  Typical font
  3126.     sizes would  be  10-12 points  for ordinary  text, perhaps  7
  3127.     points  or smaller for disk  covers or labels.   Wssindex ex-
  3128.     pects  integral point  sizes.   Spacing between lines  is the
  3129.     font size plus  the extra spacing.   Word processing programs
  3130.     often default to 2 points more for spacing than  for the font
  3131.     size, but you may find that 1 or even 0 points looks better.
  3132.  
  3133.                        Database Size Limits
  3134.  
  3135. The entire Wssindex database is kept in memory.   Thus, the maxi-
  3136. mum database  size depends on available memory,  and under MS/PC-
  3137. DOS, that usually means less than 640K.  (However, if your system
  3138. provides  more  conventional  memory,  Wssindex  will  use   it.)
  3139. Wssindex/Extended also  keeps the entire database  in memory, but
  3140. it can use  up to 16  MB of  extended memory.   The overhead  for
  3141. memory management is  greatly reduced if space for  certain fixed
  3142. sized  items is allocated  in a few  large chunks rather  than in
  3143. small  pieces as  a database grows.   Also, the  DOS Shell option
  3144. requires  some memory which could otherwise be used for the data-
  3145. base.  These considerations  mean that the program must  know the
  3146. maximum database  size before the  database is loaded.   However,
  3147. these limits can be  changed before a database loaded  from disk,
  3148. so numbers entered here do not restrict future database growth.
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162. Wssindex 5.25                   41     Printer Configuration Menu
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.  
  3174.  
  3175.           +-------------------------------------------+
  3176.           |           Database size limits            |
  3177.           |                                           |
  3178.           | Maximum number of Files              3000 |
  3179.           | Maximum number of Subdirectories      600 |
  3180.           | Maximum number of Disks               300 |
  3181.           |                                           |
  3182.           | Allocate Memory and display status        |
  3183.           |                                           |
  3184.           | Longest allowed Comment                64 |
  3185.           | Longest allowed category               64 |
  3186.           |                                           |
  3187.           | Return to primary configuration menu      |
  3188.           +-------------------------------------------+
  3189.        Figure 8. Wssindex Database Size Configuration Menu
  3190.  
  3191.  
  3192. F - Maximum number of Files
  3193. S - Maximum number of Subdirectories
  3194. D - Maximum number of Disks
  3195.     These  options set the limits on the numbers of files, subdi-
  3196.     rectories and  disks in a  database.  In  the DOS  version of
  3197.     Wssindex, each must be less than 16,384, regardless of avail-
  3198.     able memory.  In  practice, it's usually the number  of files
  3199.     which  is most constricting.   10-12,000 files can usually be
  3200.     accommodated in  640K, provided that a  significant amount of
  3201.     memory  is not also  being used for  comments and categories.
  3202.     With Wssindex/Extended  and 16 MB of RAM,  you could probably
  3203.     handle 300,000 files.   The number of bytes used  is given in
  3204.     the table below.   In addition, each  subdirectory name takes
  3205.     some space.
  3206.  
  3207.           Bytes per           DOS       Extended
  3208.                             version     version
  3209.           File                36           42
  3210.           Subdirectory         6            8
  3211.           Disk                27           29
  3212.  
  3213.     A maximum length  comment or category takes  up more database
  3214.     memory  than 3 file  entries, so a heavily commented database
  3215.     could run into memory space problems even at 3000 files.
  3216.  
  3217. M - Allocate Memory
  3218.     Memory is not allocated  until you either leave this  menu or
  3219.     select  this item.   When you select  this item, you  get the
  3220.     same  summary of size limits and available memory as is given
  3221.     by the display statistics option from the main menu.  So, you
  3222.     can make repeated adjustments  and check status without leav-
  3223.     ing this menu.   If there  is not enough  memory for the  re-
  3224.     quested  size limits, you will  get an error  message and the
  3225.     option  to give up and  return to DOS;  the default answer is
  3226.     no.  The size limits revert to the last successfully allocat-
  3227.  
  3228. Wssindex 5.25                   42           Database Size Limits
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.     ed values, but the display will still show the last requested
  3242.     values.  Insufficient memory  for variable length items (sub-
  3243.     directory names, comments and categories) will be detected as
  3244.     a database is read or expanded.
  3245.  
  3246. C - Longest allowed Comment
  3247. L - Longest allowed category
  3248.     Comments and  categories extracted from archive  files or en-
  3249.     tered on the add-comments screen can only be as long as spec-
  3250.     ified here.  The longest comment allowed is 1023  characters;
  3251.     the longest category 64.   (Prior to version 5.2,  both maxi-
  3252.     mums were fixed at 64.  Comments longer than this will make a
  3253.     database unreadable by  older versions  of Wssindex.)   If  a
  3254.     comment  or category  longer than  the configured  maximum is
  3255.     found when a database is loaded, it will be truncated to this
  3256.     maximum  and a warning issued.   Setting the  maximum to zero
  3257.     forces removal of  the comment or category  when the database
  3258.     is read.  Setting the  maximum has no effect on a  comment or
  3259.     category already in memory.
  3260.  
  3261. R - Return to primary configuration menu
  3262.     Returns to the previous menu.
  3263.  
  3264.                    Indexing Configuration Menu
  3265.  
  3266. Items in this menu control program behavior during disk indexing.
  3267. Many of these items are duplicated on the indexing sub-menu.
  3268.  
  3269.     +-------------------------------------------------------+
  3270.     |             Indexing configuration menu               |
  3271.     |                                                       |
  3272.     | Indexing drive number 1                             A |
  3273.     | Indexing drive number 2                             B |
  3274.     | Make .ID entries (allows disk/subdir comments)    YES |
  3275.     | Ask Before replacing                               NO |
  3276.     | Auto coMment after disk indexed                    NO |
  3277.     | Auto caTegory for all files                        NO |
  3278.     | Ask before eXtracting archive info                 NO |
  3279.     | Extract comments from archive files               YES |
  3280.     | Extract comments from 4DOS/NDOS description files YES |
  3281.     | Auto cateGory string        (none)                    |
  3282.     |                                                       |
  3283.     | File extensions for Archive information extraction    |
  3284.     | File extensions for graPhics information extraction   |
  3285.     |                                                       |
  3286.     | Return to primary configuration menu                  |
  3287.     +-------------------------------------------------------+
  3288.       Figure 9. Wssindex Indexing Options Configuration Menu
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294. Wssindex 5.25                   43           Database Size Limits
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307. 1,2 - Indexing drive number
  3308.     If you have two  drives, Wssindex will read from  them alter-
  3309.     nately when indexing so that you can be swapping disks in one
  3310.     drive while  the other is being  used.  If you  have only one
  3311.     drive (or if you only want  to use one drive), just enter the
  3312.     same letter for both drives.
  3313.  
  3314. I - Make .ID entries
  3315.     In  order to record the subdirectory structure of a disk, and
  3316.     to allow comments to be assigned to disks and subdirectories,
  3317.     it is necessary to make special database entries for the vol-
  3318.     ume label  and each  subdirectory.   These entries  look like
  3319.     files with the (illegal)  name .ID.  These entries  count to-
  3320.     wards the limits on the number of files, so if you don't want
  3321.     to  assign comments to  disks or subdirectories,  you can set
  3322.     this option to NO and decrease the database size slightly.
  3323.  
  3324. B - Ask Before replacing
  3325.     If  a disk is encountered  while indexing which  has the same
  3326.     volume label as one already in  the database, it could be ei-
  3327.     ther a different disk with a duplicate  name or the same disk
  3328.     being re-indexed.   This option controls  whether any warning
  3329.     is given before a duplicate disk is replaced.
  3330.  
  3331. M - Auto coMment
  3332.     If  YES, automatically  go to  the add-comments  screen after
  3333.     each disk is indexed, with all files from the disk selected.
  3334.  
  3335. T - Auto caTegory
  3336.     If YES, assign the auto-category string to all files as disks
  3337.     are indexed.
  3338.  
  3339. X - Ask before eXtracting archive info
  3340.     You  may want to extract  file information only from selected
  3341.     archive and graphics files.   If this option is YES,  you are
  3342.     asked before file information is extracted from any file with
  3343.     an extension in one of the extraction lists.
  3344.  
  3345. E - Extract comments from archive files
  3346.     Some of the archive formats allow comments for the archive or
  3347.     members.  If this option is YES, such comments are extracted,
  3348.     filtered to remove unprintable characters and  excess blanks,
  3349.     and assigned to database files.
  3350.  
  3351. 4 - Extract comments from 4DOS/NDOS description files
  3352.     4DOS and NDOS are COMMAND.COM replacements which support file
  3353.     descriptions in each directory in a file called DESCRIPT.ION.
  3354.     This flag enables extraction of comments from these files.
  3355.  
  3356. G - Auto cateGory string
  3357.     This string is  used for  the category if  configured to  add
  3358.     categories automatically.
  3359.  
  3360. Wssindex 5.25                   44    Indexing Configuration Menu
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373. A - File extensions for Archive information extraction
  3374. P - File extensions for graPhics information extraction
  3375.     These  two options lead to menus to  select what types of ar-
  3376.     chive and graphics files  should be processed to  extract di-
  3377.     rectory, comment or image size information.
  3378.  
  3379.  
  3380.             Archive file extraction configuration menu
  3381.         +------------------------------------------------+
  3382.         |   Archive file extraction configuration menu   |
  3383.         |                                                |
  3384.         |     ARC     YES            LZS    YES          |
  3385.         |     ARJ     YES            PAK    YES          |
  3386.         |     ARK     YES            PKA    YES          |
  3387.         |     HYP     YES            SDN    YES          |
  3388.         |     LBR     YES            ZIP    YES          |
  3389.         |     LZH     YES            ZOO    YES          |
  3390.         |                                                |
  3391.         |   Return to indexing configuration menu        |
  3392.         +------------------------------------------------+
  3393.   Figure 10. Archive file types from which information can be ex-
  3394. tracted.
  3395.  
  3396.  
  3397.            Graphics file extraction configuration menu
  3398.  
  3399.        +-------------------------------------------------+
  3400.        |   Graphics file extraction configuration menu   |
  3401.        |                                                 |
  3402.        |       BMP                               YES     |
  3403.        |       GIF                               YES     |
  3404.        |       PCX                               YES     |
  3405.        |       TIF                               YES     |
  3406.        |                                                 |
  3407.        |   Return to indexing configuration menu         |
  3408.        +-------------------------------------------------+
  3409.  Figure 11. Graphics file types from which image size information
  3410. can be extracted.
  3411.  
  3412. Extension for extraction
  3413.     Files with extensions marked  YES on these two menus  will be
  3414.     processed as  archive or  graphics files when  disks are  in-
  3415.     dexed.   Archive types  which allow  archive comments can  be
  3416.     marked "Only comments", meaning  that file information is not
  3417.     extracted,  but an archive  comment will be  extracted if Ex-
  3418.     tract comments is YES.
  3419.  
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426. Wssindex 5.25                   45    Indexing Configuration Menu
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.                  Miscellaneous Configuration Menu
  3440.  
  3441. This menu  includes a  variety of miscellaneous  items, including
  3442. the paths to  the color selection  and video board  configuration
  3443. menus.
  3444.  
  3445.     +-------------------------------------------------------+
  3446.     |   Screen, keyboard and miscellaneous configuration    |
  3447.     |                                                       |
  3448.     | Perform automatic inteGrity check                  NO |
  3449.     | MaNual cursor motion in menus                      NO |
  3450.     | Function key layout matching IBM                  YES |
  3451.     | Use BIOS to read Keyboard                          NO |
  3452.     | Inverted meaning for PgUp/PgDn                     NO |
  3453.     | Create .BAK files                                 YES |
  3454.     | Enable Alarm sound                                YES |
  3455.     | Change Prompt in DOS shell                        YES |
  3456.     | Strip High-bit when viewing files                 YES |
  3457.     | Use color                                         YES |
  3458.     | Use Mouse                                          NO |
  3459.     | Mouse Sensitivity                                  50 |
  3460.     |                                                       |
  3461.     | Set Colors                                            |
  3462.     | Video board configuration                             |
  3463.     |                                                       |
  3464.     | Return to primary configuration menu                  |
  3465.     +-------------------------------------------------------+
  3466.     Figure 12. Wssindex  Screen,  Keyboard and  Miscellaneous
  3467.     Options Configuration Menu
  3468.  
  3469.  
  3470. G - Perform automatic inteGrity check
  3471.     A  disk indexing program  infected by a  computer virus could
  3472.     spread the infection to every write-enabled disk indexed.  To
  3473.     provide partial protection, Wssindex will read its executable
  3474.     file from disk and  perform a checksum test.  If the expected
  3475.     checksum  is not found, a warning will be displayed the first
  3476.     time you enter the main menu.  Since this test requires read-
  3477.     ing  the program from disk, it requires about the same amount
  3478.     of time as loading the program.  With a fast  hard disk, this
  3479.     time  is negligible, but on  a floppy it  could be annoyingly
  3480.     long, hence the option of disabling the test.
  3481.  
  3482.     This type of integrity test is far from foolproof.  First, it
  3483.     only tests whether the program itself is infected, not wheth-
  3484.     er a  virus from a previously run program is active.  Second,
  3485.     viruses exist which detect that a program is reading its disk
  3486.     image and feed back  the uninfected image.  Finally,  a virus
  3487.     targeted   against  a  specific   program  could  remove  the
  3488.     checksumming  code entirely.  I intend  to change the details
  3489.     of  the integrity check from  release to release  in order to
  3490.     make  this last attack more difficult.  There are now several
  3491.  
  3492. Wssindex 5.25                   46    Miscellaneous Configuration
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.     programs available  which attempt  to check for  virus infec-
  3506.     tions  by known  viruses,  or to  block destructive  actions.
  3507.     Since I  have never  actually encountered  a virus,  I cannot
  3508.     comment on how  effective such programs might be.   I do know
  3509.     that  computer  scientists have  demonstrated that  writing a
  3510.     "universal virus detector" is not possible.
  3511.  
  3512.     In  order to perform the checksum test, the program must know
  3513.     its name  and where it  was loaded  from.  Under  DOS 3.0  or
  3514.     higher, this  is trivial, and under previous  DOS versions it
  3515.     is  impossible.  When running under DOS 2.x, the program name
  3516.     is assumed to be WSSINDEX.EXE,  and the current directory and
  3517.     the PATH  are searched for this  name.  Thus, if  you wish to
  3518.     use  the integrity check under  DOS 2.x, you  must change the
  3519.     program  name from  the distributed  name which  includes the
  3520.     version number.
  3521.  
  3522.     There are various utilities  available which compress an exe-
  3523.     cutable file  on disk  and automatically decompress  when the
  3524.     program is loaded.   If such a utility is  used, the disk im-
  3525.     age, and  hence the  checksum, is  changed, so  the integrity
  3526.     check will fail.   However,  such a  compression utility  may
  3527.     provide an equivalent checksum test.  Except for this consid-
  3528.     eration,  the DOS  version of  WSSINDEX  has been  tested and
  3529.     found to be  compatible with the  program LZEXE version  0.91
  3530.     (Fabrice Bellard, 451 chemin du mas de Matour, 34790 Grabels,
  3531.     France) and  the LZESHELL program (Pete  Petrakis, 1236 River
  3532.     Bay Road, Annapolis, Maryland 21401) which translates LZEXE's
  3533.     messages  into  English.     LZEXE  compresses  the  unpacked
  3534.     WSSI525.EXE by  about 50%  and the  reduced disk  access time
  3535.     more than compensates for the decompression overhead.  PKLite
  3536.     (PKWare)  and  DIET   (Teddy  Matsumoto)  perform  similarly.
  3537.     Wssindex/Extended cannot  be compressed by any  of these pro-
  3538.     grams.
  3539.  
  3540. N - MaNual cursor motion in menus
  3541.     When you  select menu items, Wssindex tries  to guess whether
  3542.     you will want  to keep the cursor on that  item or advance to
  3543.     the next item.  Set  this option to YES to disable  this fea-
  3544.     ture.
  3545.  
  3546. F - Function key layout matching IBM
  3547.     The function key  help in the add-comments screen is arranged
  3548.     in  two columns, just as the function keys on many keyboards.
  3549.     If you have an unusual keyboard which has F2 below F1  rather
  3550.     than beside it, such as  is found on your author's  old Sanyo
  3551.     555,  set this option to  NO and the  help screen arrangement
  3552.     will  match the key arrangement.   If your  function keys run
  3553.     across the  top of  the keyboard, pick  whichever arrangement
  3554.     seems best.
  3555.  
  3556.  
  3557.  
  3558. Wssindex 5.25                   47    Miscellaneous Configuration
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571. K - Use BIOS to read Keyboard
  3572.     If YES, the keyboard is read  using a BIOS call rather than a
  3573.     DOS call.  Select YES here if you have used ANSI.SYS to rede-
  3574.     fine keys and  do not  want Wssindex to  use these  redefini-
  3575.     tions.  Select NO if your  machine is not IBM compatible.  If
  3576.     neither  of these applies,  the setting of  this flag doesn't
  3577.     really   matter.     This  option   is  forced   to   YES  in
  3578.     Wssindex/Extended to avoid a known problem in the DOS extend-
  3579.     er.
  3580.  
  3581. I - Inverted meaning for PgUp/PgDn
  3582.     Your author became  accustomed to an hp  terminal long before
  3583.     he  ever saw a PC keyboard.   The hp keyboard had NEXT SCREEN
  3584.     and  PREVIOUS SCREEN keys in  the same positions  as PgUp and
  3585.     PgDn, but the positions were interchanged relative to meaning
  3586.     most  programs assign to the  PC keyboard keys.   Your author
  3587.     sets this option to  YES and goes through contortions  to get
  3588.     other programs  to do  the  equivalent translation;  probably
  3589.     everyone else will set it to NO.
  3590.  
  3591. B - Create .BAK files
  3592.     When a  database is saved,  and an existing file  of the same
  3593.     name is found, the old file can be either overwritten or  re-
  3594.     named  with a .BAK extension.  The latter option is obviously
  3595.     safer  since the old file remains if  the save fails, but the
  3596.     output disk might not have enough room for two databases.  If
  3597.     you elect not to create  .BAK files, you will be warned  that
  3598.     an old file of the same name exists and must confirm that you
  3599.     really want to overwrite  it.  If creating .BAK  files, a two
  3600.     generation  old .BAK file will be erased so that the previous
  3601.     database file can be renamed.
  3602.  
  3603. A - Enable Alarm sound
  3604.     Some error messages include  a beep.  This option  allows you
  3605.     do disable all such sounds.
  3606.  
  3607. P - Change Prompt in DOS shell
  3608.     The prompt when shelled to DOS can be either changed to "EXIT
  3609.     to  return to Wssindex" followed by a newline and your origi-
  3610.     nal prompt to  remind you that  you are in  a shell, or  left
  3611.     unchanged.
  3612.  
  3613. H - Strip High-bit when viewing files
  3614.     Files created by WordStar, and possibly other files, have the
  3615.     high-bit  set on some  characters.   When viewing  such files
  3616.     from the add-comments screen, it is desirable to turn off the
  3617.     high-bit to make the  text readable.  On the other hand, lan-
  3618.     guages other  than English  use characters with  the high-bit
  3619.     set.  So, generally this option should be set to YES for Eng-
  3620.     lish language users and NO for other languages.
  3621.  
  3622.  
  3623.  
  3624. Wssindex 5.25                   48    Miscellaneous Configuration
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637. U - Use color
  3638.     By default, the program  will run in monochrome.   (This does
  3639.     not refer  to the type of video board which is a separate se-
  3640.     lection.)  To get color, set this option to YES  and also se-
  3641.     lect set Colors to get a color-selection menu.  Actually, the
  3642.     setting  of this control is only important if using DOS calls
  3643.     for screen output.   With  direct video writes,  you can  get
  3644.     colors even if this option is set to NO.
  3645.  
  3646. M - Use Mouse
  3647.     Set this  option to YES to  enable the mouse.   There are two
  3648.     possible  reasons why you might  not want to  do this: first,
  3649.     the standard method  of testing  whether a  mouse is  present
  3650.     causes some  non-compatible  machines to  crash, and  second,
  3651.     when the mouse  is active, the program sits in  a loop alter-
  3652.     nately checking for  keyboard or mouse input rather than sim-
  3653.     ply asking DOS to read the next keystroke.  In  a multi-task-
  3654.     ing environment this wastes CPU cycles which could be used by
  3655.     tasks in other  windows.  (Wssindex will detect if it is run-
  3656.     ning under DESQview and will give  up its time slice if there
  3657.     is no keyboard or mouse input pending.)
  3658.  
  3659. S - Mouse Sensitivity
  3660.     A smaller number here means less mouse motion is necessary to
  3661.     move the highlight bar.
  3662.  
  3663. C - Set Colors
  3664.     This option leads to the color selection menu.
  3665.  
  3666. V - Video board configuration
  3667.     This option leads to the video board selection menu.
  3668.  
  3669. R - Return to primary configuration menu
  3670.     Returns to the previous menu.
  3671.  
  3672.  
  3673.             Default Sorting and Selection Options Menu
  3674.  
  3675.         +-------------------------------------------------+
  3676.         |     Default Sorting and Selection Options       |
  3677.         |                                                 |
  3678.         | Selection list (none)                           |
  3679.         | Sort Keys      (none)                           |
  3680.         |                                                 |
  3681.         | Return to main menu                             |
  3682.         +-------------------------------------------------+
  3683.   Figure 13. Wssindex Default Sorting and Selection Options Menu
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.  
  3690. Wssindex 5.25                   49    Miscellaneous Configuration
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.  
  3703. S - Selection list
  3704. K - Sort Keys
  3705.     When  listing files with the  Find or Print  options, you are
  3706.     prompted  for selection and sort options.  The two menu items
  3707.     here  allow you to specify the default selection and sort key
  3708.     lists.  If present, each will be a list of numbers, separated
  3709.     by commas.  These lists may be edited at the time of use, but
  3710.     such editing does  not change the defaults.   If you  want to
  3711.     erase one of these lists, just delete the characters.  Do not
  3712.     type  "none" else  you will find  that the  characters "none"
  3713.     become the default, which isn't what you want.
  3714.  
  3715. R - Return to previous menu
  3716.     Returns to the primary configuration menu.
  3717.  
  3718.  
  3719.                  Output Fields Configuration Menu
  3720.  
  3721. This  menu is used to  select what information  is displayed when
  3722. files are listed.   Note that displaying all items  requires con-
  3723. siderably more than  80 characters.   The output  format menu  is
  3724. used to control how long lines are handled.
  3725.  
  3726.  
  3727.     +-------------------------------------------------------+
  3728.     |           Output fields configuration menu            |
  3729.     |                                                       |
  3730.     | Print File name and extension plus                    |
  3731.     |                                                       |
  3732.     |      DuPlicate flag  NO    Volume            YES      |
  3733.     |      Size           YES    SuBdirectory      YES      |
  3734.     |      Date           YES    Archive file name YES      |
  3735.     |      Time           YES    Comment           YES      |
  3736.     |      SEconds        YES    CateGory          YES      |
  3737.     |                                                       |
  3738.     | Return to primary configuration menu                  |
  3739.     +-------------------------------------------------------+
  3740.        Figure 14. Wssindex Output fields configuration menu
  3741.  
  3742.  
  3743. P - DuPlicate flag
  3744.     An asterisk following  the file name if the name  is the same
  3745.     as the previous  file listed.   Note that  whether a file  is
  3746.     flagged depends on the sort order and selection options.
  3747.  
  3748. S - Size
  3749.     File size in bytes.
  3750.  
  3751. D - Date
  3752.     Date of  last modification; date  format is  selected in  the
  3753.     output format menu.
  3754.  
  3755.  
  3756. Wssindex 5.25                   50           Sort/select Defaults
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769. T - Time
  3770.     Time of  last modification;  always omitted  if  date is  not
  3771.     printed.
  3772.  
  3773. S - Seconds
  3774.     Seconds field of modification time; always omitted if time is
  3775.     not printed.  Since  MS-DOS only stores the file  time to the
  3776.     nearest two seconds, this will always be an even number.
  3777.  
  3778. V - Volume
  3779.     Disk volume label.
  3780.  
  3781. B - SuBdirectory
  3782.     Subdirectory name or "Root" for root directory.
  3783.  
  3784. A - Archive file name
  3785.     The name of the containing archive file, if any.
  3786.  
  3787. C - Comment
  3788.     File comment, if any.
  3789.  
  3790. G - CateGory
  3791.     File category, if any.
  3792.  
  3793.                  Output Format Configuration Menu
  3794.  
  3795.   +------------------------------------------------------------+
  3796.   |             Output format configuration menu               |
  3797.   |                                                            |
  3798.   | Number of Blank lines between headers               0      |
  3799.   | Number of blank lines after Headers                 1      |
  3800.   |                                                            |
  3801.   | File name style                                   FN  EXT  |
  3802.   | Date style                                        mm/dd/yy |
  3803.   | Archive file delImiter                             [...]   |
  3804.   | DeliMiter around first of comment/category         (...)   |
  3805.   |                                                            |
  3806.   | Enter 0 width to use variable field size                   |
  3807.   |                                                            |
  3808.   |    Field width for Subdirectories                     0    |
  3809.   |    Field width for Archive name                       0    |
  3810.   |    Field width for Comment or category                0    |
  3811.   |                                                            |
  3812.   | Print comments bEfore categories                     NO    |
  3813.   | Always start New line for comment/category info      NO    |
  3814.   | MaX wrapped print lines per file                      2    |
  3815.   | Indentation for Wrapped lines                        10    |
  3816.   |                                                            |
  3817.   | Return to primary configuration menu                       |
  3818.   +------------------------------------------------------------+
  3819.        Figure 15. Wssindex output format configuration menu
  3820.  
  3821.  
  3822. Wssindex 5.25                   51    Output Fields Configuration
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835. B - Number of Blank lines between headers
  3836. H - Number of blank lines after Headers
  3837.     File  and volume listings have  two header lines,  one with a
  3838.     title, the second with column headings.  These options select
  3839.     how many blank lines  to insert between header lines,  or be-
  3840.     tween  the header lines and the data lines.  These parameters
  3841.     are ignored for screen output.
  3842.  
  3843. F - File name style
  3844.     Selecting this option  will toggle the  file name format  be-
  3845.     tween FN EXT and FN.EXT.
  3846.  
  3847. D - Date style
  3848.     Selecting  this option  will cycle  through the  various date
  3849.     formats: mm/dd/yy, dd/mm/yy, yy/mm/dd or 01-Jan-80.  The day,
  3850.     month,  year order selected here  is used for  both input and
  3851.     output.   The date format  implied by the  COUNTRY= option in
  3852.     CONFIG.SYS is not used.
  3853.  
  3854. I - Archive file delImiter
  3855.     The name of the  archive file containing the listed  file can
  3856.     be  printed surrounded by (),  <> or [];  selecting this item
  3857.     cycles through the possible delimiters.  One of these markers
  3858.     is recommend to distinguish the archive name from the follow-
  3859.     ing field if a fixed field width is not used.
  3860.  
  3861. M - DeliMiter around first of comment/category
  3862.     The same  sets of delimiters can be  used to mark comments or
  3863.     categories  as are  used to  mark archive files.   It  is the
  3864.     field which is configured to  print first which is surrounded
  3865.     by this delimiter.
  3866.  
  3867. S - Field width for Subdirectories
  3868. A - Field width for Archive name
  3869. C - Field width for Comment or category
  3870.     Displaying all  possible file  information on a  single line,
  3871.     neatly arranged in columns and allowing for the maximum  pos-
  3872.     sible length of all fields, would require well over 200 print
  3873.     positions  even if  comments were  restricted to  the old  64
  3874.     character  length limit.    Perhaps some  printers can  print
  3875.     lines this long, but generally some compromise must  be made.
  3876.     The  possibilities are  to  not print  everything, limit  the
  3877.     field widths, not require  columnar alignment for potentially
  3878.     long, variable length items,  or print multiple lines.   If a
  3879.     field width is specified as 0, as many spaces as needed  will
  3880.     be  used  and line  wrapping will  be  done, subject  to line
  3881.     length constraints.   Non-zero widths should  be specified if
  3882.     neat columns are desired; overly long items will be truncated
  3883.     at the field width.
  3884.  
  3885.  
  3886.  
  3887.  
  3888. Wssindex 5.25                   52    Output Format Configuration
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901. E - Print comments bEfore categories
  3902.     Either comments or categories can be printed first.
  3903.  
  3904. N - Always start New line for comment/category
  3905.     If YES, a  new print line will be started  for any comment or
  3906.     category.
  3907.  
  3908. X - MaX wrapped print lines per file
  3909.     Specifies the maximum number  of continuation lines which may
  3910.     be printed  for a single file.   Subdirectory names, comments
  3911.     and categories are word-wrapped if they don't fit on the cur-
  3912.     rent print  line.   A zero here  means only  one line,  which
  3913.     probably isn't enough to  print comments or categories unless
  3914.     you are using a small font or a wide-carriage printer.
  3915.  
  3916. W - Indentation for Wrapped lines
  3917.     Specifies the  number of  spaces that continuation  lines are
  3918.     indented.   You can reasonably enter a small number like 5 or
  3919.     10 here, or  you can use a number sufficient to align wrapped
  3920.     comments with the first character of the comment.
  3921.  
  3922. R - Return to primary configuration menu
  3923.     Return to the previous menu.
  3924.  
  3925.  
  3926.                     Video Board Configuration
  3927.  
  3928. This  menu selects the screen  output method.   This selection is
  3929. buried in  this menu because it  only needs to be  made once, and
  3930. because  accidentally configuring  for  the wrong  type of  video
  3931. board is  likely to cause an  immediate crash.  Any  changes made
  3932. here take effect when you leave this menu.
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954. Wssindex 5.25                   53    Output Format Configuration
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.     +-------------------------------------------------------+
  3968.     |            Video board configuration Menu             |
  3969.     |                                                       |
  3970.     | Screen writing method (changes only on menu exit) CGA |
  3971.     | Use DOS calls for prompts (for screen readers)     NO |
  3972.     | Suppress snoW on CGA                               NO |
  3973.     | Raw Mode screen output                             NO |
  3974.     |                                                       |
  3975.     | Use BIOS call to set screen size                   NO |
  3976.     | AX value for BIOS call                              0 |
  3977.     | BX value for BIOS call                              0 |
  3978.     | Screen wIdth                                       80 |
  3979.     | Screen Height                                      25 |
  3980.     | AX value for BIOS call on exit or push-to-DOS       0 |
  3981.     | BX Value for BIOS call on exit or push-to-DOS       0 |
  3982.     |                                                       |
  3983.     | Return to previous configuration menu                 |
  3984.     +-------------------------------------------------------+
  3985.         Figure 16. Wssindex video board configuration menu
  3986.  
  3987.  
  3988. S - Screen writing method
  3989.     Screen  output may be done  using either DOS  calls or direct
  3990.     video writes.   The former is slower, and on most systems re-
  3991.     quires that ANSI.SYS  be installed (see Appendix B, page 76).
  3992.     However, if running  in a background window,  using DOS calls
  3993.     may prevent screen output from bleeding through  to the fore-
  3994.     ground  window.  The direct  write methods are  MDA for Mono-
  3995.     chrome Graphics Adapter, CGA  for Color Graphics Adaptor, EGA
  3996.     for  Enhanced Graphics  Adapter, and  VGA for  Video Graphics
  3997.     Array.   EGA and VGA differ (here)  from CGA only in the com-
  3998.     mands to set  the border color.   A Hercules board should  be
  3999.     configured as an MDA.
  4000.  
  4001.     Normally the value here  is determined automatically, but you
  4002.     might need to change it if the auto-detection fails or if you
  4003.     change  your hardware.   If  you enter  the wrong  video type
  4004.     here,  you will likely have to reboot after leaving this menu
  4005.     because the screen will no longer be updated properly.
  4006.  
  4007. D - Use DOS calls for prompts (for screen readers)
  4008.     This option  is for blind  users.   If YES, prompts  for user
  4009.     input,  status reports  and error  messages are  displayed by
  4010.     temporarily switching  to DOS-calls video  display, then  re-
  4011.     turning to the configured screen-writing method.  This allows
  4012.     screen-reading programs to  separate important messages  from
  4013.     menu  displays.  Note that in all  cases, the DOS cursor fol-
  4014.     lows  the highlight  bar, so  screen readers  should have  no
  4015.     problem in telling where Wssindex thinks the cursor is locat-
  4016.     ed.
  4017.  
  4018.  
  4019.  
  4020. Wssindex 5.25                   54      Video Board Configuration
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033. W - Suppress snoW on CGA
  4034.     Older CGA boards cannot display properly while they are being
  4035.     written to.  If  this option is YES,  writes to video  memory
  4036.     will be synchronized with  the horizontal retrace to minimize
  4037.     screen disruption.  This will slow down the updating.
  4038.  
  4039. M - Raw Mode on screen output
  4040.     Raw  mode means do not check for control-c or control-s after
  4041.     every character of screen output.  Setting this option to YES
  4042.     will speed DOS calls screen output slightly, but the  differ-
  4043.     ence will probably not be noticeable.
  4044.  
  4045. B - Use BIOS call to set screen size
  4046.     If yes, a BIOS interrupt 10H is used to set the screen dimen-
  4047.     sions.  This option should only be enabled on a machine which
  4048.     is at least moderately IBM compatible.
  4049.  
  4050. A - AX value for BIOS call
  4051. B - BX value for BIOS call
  4052.     If non-zero, the  values passed  in the AX  and BX  registers
  4053.     when the video interrupt is generated.  Most boards need only
  4054.     AX;  set BX=0 unless you need  another value.  See the manual
  4055.     for your video board or appendix I, page 87 for a listing  of
  4056.     values for various boards.  Manuals may give hex values; con-
  4057.     vert them to decimal for this menu.
  4058.  
  4059. I - Screen wIdth
  4060. H - Screen Height
  4061.     The screen width and height in characters, either on entry or
  4062.     after the video interrupt to set the screen size.
  4063.  
  4064. X - AX value for BIOS call on exit or push-to-DOS
  4065. B - BX Value for BIOS call on exit or push-to-DOS
  4066.     These parameters,  if non-zero,  are used  to set the  screen
  4067.     dimensions before exiting or pushing to DOS.  Typically an AX
  4068.     value of 2,3 or 7 would be used here to return to 80x25 mode.
  4069.  
  4070. R - Return to previous menu
  4071.     Returns to the miscellaneous configuration menu.
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086. Wssindex 5.25                   55      Video Board Configuration
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.                        Color Selection Menu
  4100.      +-----------------------------------------------------+
  4101.      |                  Attribute   Foreground  Background |
  4102.      |                                                     |
  4103.      | Normal text      none        white       blue       |
  4104.      | Highlights       bold        yellow      blue       |
  4105.      | Status info      bold        white       white      |
  4106.      | Selector bar     bold        yellow      magenta    |
  4107.      | Border color     none        blue                   |
  4108.      +-----------------------------------------------------+
  4109.             Figure 17. Wssindex color selection screen
  4110.  
  4111. Use + and - keys to cycle forward and backward through colors, or
  4112. left mouse button to  advance colors.  Cursor arrow keys or mouse
  4113. select which item is to be changed.  Hit ENTER or the right mouse
  4114. button  when done.  A selector bar is not used if using DOS calls
  4115. for  screen output,  so this option  may not  be displayed.   The
  4116. border color control is not functional on all systems, in partic-
  4117. ular, EGA cards may not allow colored borders.  Also, while there
  4118. is an ANSI  escape sequence  for setting the  border color,  most
  4119. implementations  of ANSI.SYS  do not  support it,  so the  border
  4120. color selection will  usually not  work in DOS-calls  mode.   The
  4121. actual screen colors  may not match the labels  exactly.  For in-
  4122. stance,  on a monochrome system,  blue on black  will give under-
  4123. line, and non-bold  yellow may  display as brown.   As you  cycle
  4124. through colors, the labels at the left will change to the select-
  4125. ed colors.
  4126.  
  4127.                       The Add-Comments Menu
  4128.  
  4129. The  add-comments menu  screen displays  each matching  file name
  4130. along with the  disk and subdirectory it is found  on, as well as
  4131. the containing archive  file for archive file members.   Starting
  4132. with  version 3.2, each disk  and each subdirectory  will cause a
  4133. dummy database entry to be made with a blank file name and exten-
  4134. sion  of "ID".   These entries,  which receive  special treatment
  4135. when  printing, give you a  place to hang  comments describing an
  4136. entire disk or subdirectory.
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152. Wssindex 5.25                   56           Color Selection Menu
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  +-------------------------------------------------------------+
  4166.  |                       Add comments menu                     |
  4167.  |                                                             |
  4168.  | Disk id: MS-RAMDRIVE File name:   .ID                       |
  4169.  | Subdirectory:  Root                                         |
  4170.  |                                                             |
  4171.  | Copy buffer:                                                |
  4172.  |                                                             |
  4173.  |                                                             |
  4174.  | Current file:                                               |
  4175.  |                                                             |
  4176.  |                                                             |
  4177.  | New comment:                                                |
  4178.  |    category:                                                |
  4179.  |                                                             |
  4180.  |                                                             |
  4181.  | F 1 - copy comment               F 2 - delete comment       |
  4182.  | F 3 - copy category              F 4 - delete category      |
  4183.  | F 5 - copy both                  F 6 - chng srch direction  |
  4184.  | F 7 - skip to next               F 8 - view file            |
  4185.  | F 9 - add comment and advance    F10 - return to main menu  |
  4186.  | ENTER  - comment/category toggle INSERT  - insert/overtype  |
  4187.  | Alt-F1 - toggle help             Ctrl-END - delete to end   |
  4188.  |                                                             |
  4189.  |                               Searching  forward INSERT OFF |
  4190.  +-------------------------------------------------------------+
  4191.              Figure 18. Wssindex add-comments screen
  4192.  
  4193.  
  4194. The ten  function keys, alt-letter keys,  plus BACKSPACE, INSERT,
  4195. DELETE, ENTER, HOME, and the left/right cursor arrows are used to
  4196. control this part of the program.  Two different sets of function
  4197. key  assignments can be  selected from the  configuration menu to
  4198. support  different keyboard layouts.  (A third set of key assign-
  4199. ments is used in the  Rainbow version.)  While it  doesn't really
  4200. matter which arrangement you use, the placement  of the functions
  4201. and the position of the on-screen help  are more  rational if you
  4202. select the  layout which matches your keyboard.  The descriptions
  4203. below assume  that you are using the IBM layout, which is now the
  4204. default if no configuration file is found (early program releases
  4205. supported only the alternate layout).
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218. Wssindex 5.25                   57              Add-Comments Menu
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.                        Function Key layouts
  4232.  
  4233.           F1   F2        F1   F6       PF1          F17
  4234.           F3   F4        F2   F7       PF2          F18
  4235.           F5   F6        F3   F8       PF3          SELECT
  4236.           F7   F8        F4   F9       NEXT SCREEN  FIND
  4237.           F9   F10       F5   F10      PF4          EXIT
  4238.  
  4239.             IBM          Alternate         Dec Rainbow
  4240.              (Function keys may be labeled Fn or PFn)
  4241.  
  4242.  
  4243. A help menu and three sets of information are displayed:
  4244.  
  4245. Copy buffer -  a comment/category  pair which can be  copied into
  4246.                the new comment field.
  4247. Current file - the comment/category currently in the database for
  4248.                the displayed file.
  4249. New comment/category  - the comment and  category currently being
  4250.                entered.
  4251.  
  4252. The special functions available are:
  4253.  
  4254. F1 -   Copy comment:  if the file has  a comment, copy  it to the
  4255.        new comment field; otherwise, copy the comment in the copy
  4256.        buffer.  If you  want to replace an existing  comment with
  4257.        one  from the copy buffer,  you must first  delete the old
  4258.        comment  (F2). Note that this does not actually add a com-
  4259.        ment to the file until you hit F9.
  4260.  
  4261. F2 -   Delete comment: any  comment for the  current file is  de-
  4262.        leted  immediately.  If you have  entered something in the
  4263.        new comment field, and decide that you do not want to have
  4264.        any comment associated with  the file, just hit F2  to de-
  4265.        lete the old comment, followed  by F7 to skip to  the next
  4266.        file without adding the  contents of the new field  to the
  4267.        database.  It is  not necessary to clear the  text entered
  4268.        into the new comment field.
  4269.  
  4270. F3 -   Copy  category: if the file has a category, copy it to the
  4271.        new category  field; otherwise,  copy the category  in the
  4272.        copy buffer.   As with  F1, this  does not actually  add a
  4273.        category until F9 is hit.
  4274.  
  4275. F4 -   Delete category: any category for the current  file is de-
  4276.        leted immediately.   Proceed as described under  F2 to de-
  4277.        lete a  category after  having entered something  into the
  4278.        new category field.
  4279.  
  4280. F5 -   Copy both: the same as hitting both F1 and F3.
  4281.  
  4282.  
  4283.  
  4284. Wssindex 5.25                   58              Add-Comments Menu
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297. F6 -   Change search direction: toggles  the search direction for
  4298.        the next matching file between forward and backward.  
  4299.  
  4300. F7 -   Skip to next: advance  to the next file,  without changing
  4301.        the current comment and category fields.
  4302.  
  4303. F8 -   View file: the  first indexing drive  is searched for  the
  4304.        current file.  The  disk volume name must match  (an unla-
  4305.        beled disk will be accepted).  If the file is found, it is
  4306.        displayed on the bottom half of the screen.   Non-printing
  4307.        characters are translated to periods, so there is no prob-
  4308.        lem with viewing a non-ascii  file.  The configuration may
  4309.        be  set to  clear the high  bit of each  character to make
  4310.        WordStar files  printable.   Lines longer than  the screen
  4311.        width  are truncated.   This function will  fail and claim
  4312.        that  the file could  not be found if  there is not enough
  4313.        free memory to open a file.
  4314.  
  4315. F9 -   Add comment and advance: the new comment and category  (if
  4316.        any) are added to the current  file and copied to the copy
  4317.        buffer.   Blank  fields will  not be  copied and  will not
  4318.        change the record for the current file.
  4319.  
  4320. F10 -  Return to the main menu.
  4321.  
  4322. BACKSPACE - (or Delete key on  Rainbow)  Delete character to left
  4323.        of cursor.
  4324.  
  4325. DELETE - (Remove key on Rainbow)  Delete character under the cur-
  4326.        sor.
  4327.  
  4328. INSERT  - (Insert  Here on  Rainbow)   Toggle between  insert and
  4329.        overwrite mode.
  4330.  
  4331. ENTER - Toggle between comment and category.
  4332.  
  4333. Left/right cursor arrows - Move around in the comment or category
  4334.        strings for editing.
  4335.  
  4336. Control-left/right cursor arrows - Move the cursor in word rather
  4337.        than character steps.
  4338.  
  4339. PgUp/PgDn  - (Prev/Next  screen on  Rainbow) Move  the  cursor in
  4340.        steps  5 characters less than the field width.  These keys
  4341.        are primarily useful if you are entering long comments.
  4342.  
  4343. HOME - (PF1 Screen on Rainbow)  Move the cursor to the  beginning
  4344.        of the current field.  
  4345.  
  4346. END -  (F19 key on  Rainbow) Move the  cursor to the  end of  the
  4347.        current field.  (Hitting return twice will also do this.)
  4348.  
  4349.  
  4350. Wssindex 5.25                   59              Add-Comments Menu
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363. Control-END -  (F4 key on Rainbow) Delete  characters from cursor
  4364.        to end of field.
  4365.  
  4366. Alt-F1 or Shift-F1  - (Help  key on Rainbow,  control-1 on  Sanyo
  4367.        550) toggle help display between function key descriptions
  4368.        and list of keyboard macros.
  4369.  
  4370. ^R -   Redraw the  entire screen.   It shouldn't be  necessary to
  4371.        use this key very  often, if ever, but occasionally  a DOS
  4372.        error message or a program problem can scroll or otherwise
  4373.        mess  up the parts of  the screen which  are normally con-
  4374.        stant.
  4375.  
  4376. Alt-letter - Append one of the 26 keyboard macros to the category
  4377.        field, along with a comma and a space if anything was pre-
  4378.        viously  entered there.   (The  behavior here  is slightly
  4379.        different than  in other  parts of  the program  where the
  4380.        macro strings are simply  appended to any previous input).
  4381.        Note that changing the keyboard macros will not change the
  4382.        categories which  have already been assigned  to files; it
  4383.        is the actual string which is saved  for each file.  Also,
  4384.        the macros are stored  in the configuration file,  not the
  4385.        database.  (In  the DEC Rainbow version, F20  is used as a
  4386.        substitute for the Alt key.   On a 100A, you can  also use
  4387.        the Compose key.)
  4388.  
  4389. When all files which match the selection  criteria specified have
  4390. been processed, you normally  return to the previous menu.   This
  4391. would make it inconvenient  to apply corrections to a  previously
  4392. commented database, or otherwise  process several groups of files
  4393. selected by  name.  So,  if the  only selection criterion  is the
  4394. filename, you will be  prompted for a new list of  filespecs when
  4395. all  matching files have  been processed, and  the selected files
  4396. will automatically be sorted  using the same sort keys  (if any).
  4397. At this point, you can also just hit ESCAPE to return to the main
  4398. menu.
  4399.  
  4400. Comment and category  lengths are  limited to values  set in  the
  4401. configuration.  If you use  the category field as it is  named it
  4402. will usually be one or more relatively short phrases.  Some users
  4403. may want  to use this field  as a version number.   WSSINDEX will
  4404. not  allow control  characters  in comments,  but anything  else,
  4405. including  high-bit ascii, is acceptable.   If the comment length
  4406. is larger than will fit on screen, the display  will scroll left-
  4407. right in steps as you move the cursor through the comment.  
  4408.  
  4409.                         WSSINDEX Utilities
  4410.  
  4411. All of the utilities read a standard configuration file, although
  4412. in  some cases the only  information actually used  is the screen
  4413. writing method and screen colors.
  4414.  
  4415.  
  4416. Wssindex 5.25                   60              Add-Comments Menu
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.                      IDADD Conversion Utility
  4430.  
  4431. WSSINDEX version 3.2  introduced a new option  to assign comments
  4432. to disks and subdirectories  in addition to files.   This feature
  4433. was implemented by making dummy database entries (which look like
  4434. files  with name .ID) for  each disk and  subdirectory.  However,
  4435. databases  created by older versions of the program will not have
  4436. these entries, and WSSINDEX  would only create them if  the disks
  4437. were re-indexed.   Also, it is  now possible to configure  to not
  4438. generate .ID entries for volume names.
  4439.  
  4440. IDADD is a  utility for adding these dummy  entries to a database
  4441. without re-indexing.  It will also insert a .ID entry in place of
  4442. the DUMMY_EN.TRY  file which  older versions of  WSSINDEX created
  4443. when a disk was indexed with  the control-a option (and will pre-
  4444. serve any comment associated with the old entry).  It will recog-
  4445. nize disks which already have .ID entries and just copy  them, so
  4446. you  can use this utility on any database (except old version 1.x
  4447. databases  which must  first be converted  by loading  and saving
  4448. with WSSINDEX).
  4449.  
  4450. IDADD  reads  a standard  configuration file,  mostly to  get the
  4451. video output mode and screen colors.  You can specify the config-
  4452. uration and input  database file  names on the  command line,  or
  4453. allow IDADD to  prompt you  for them.   The output database  name
  4454. must be entered interactively.
  4455.  
  4456.                          *** Warning ***
  4457.  
  4458. The name of the output database must not be the same as the input
  4459. database, else the output will overwrite the input during the up-
  4460. dating process.
  4461.  
  4462. One small quirk: if you have a subdirectory with no  files in it,
  4463. IDADD  will not  create a  dummy entry  for it,  whereas WSSINDEX
  4464. would if the disk  were reindexed.  It would be moderately diffi-
  4465. cult to change this, so I won't do it unless I get complaints.
  4466.  
  4467.  
  4468.                 WSSMERGE Database Merging Utility
  4469.  
  4470. WSSMERGE merges  two WSSINDEX databases.   Only databases written
  4471. by WSSINDEX version 2.0 or higher can be merged.  Older databases
  4472. can  be converted  by  loading them  into  a current  version  of
  4473. WSSINDEX  and resaving them.  Since WSSINDEX itself can now merge
  4474. databases, this utility is almost obsolete.
  4475.  
  4476. WSSMERGE reads a  standard configuration file, mostly  to get the
  4477. video output mode and screen colors.
  4478.  
  4479. When  merging, you can elect  to assign a  common category to all
  4480. files from the  first database,  and a second  category to  files
  4481.  
  4482. Wssindex 5.25                   61                          Idadd
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495. from the second database.  This might be useful if  you had small
  4496. databases  organized by category, and wanted to merge them into a
  4497. single database.  You can suppress either common category by just
  4498. hitting  return when  prompted for  the category.   In  any case,
  4499. previously entered categories are not changed.
  4500.  
  4501. The names of  the configuration file, input and output databases,
  4502. merged database, and common categories can be entered on the com-
  4503. mand line (in this order).   If some or all are omitted, the pro-
  4504. gram  will prompt you for them.  The WSSICNF environment variable
  4505. is used  for the default  configuration file name, and  if you do
  4506. not  specify file extensions, .CNF or .DIR is assumed, but other-
  4507. wise there are no defaults for the names.  If you want to specify
  4508. a null category, enter a hyphen.
  4509.  
  4510.                          *** Warning ***
  4511.  
  4512. The name of the output database must not be the same as either of
  4513. the  input databases,  else the output  will overwrite  the input
  4514. during the merging process.
  4515.  
  4516. The disk space required for the output file will be approximately
  4517. the sum of  the input sizes, but the  entire merged database will
  4518. not be in core  at once, so you may be able  to create a database
  4519. larger than you can restore.  If the output file would exceed the
  4520. 16K  file limit,  you will  be warned  that WSSINDEX/Extended  is
  4521. required to read the file.
  4522.  
  4523. One error which the  program may warn you about  after completing
  4524. the merging operation is duplicate  volume names in the database.
  4525. The duplicate entries  are not deleted  from the merged  database
  4526. because that  operation is  difficult to perform  without loading
  4527. the  entire database into memory.   WSSINDEX has an option to de-
  4528. lete these duplicate volumes.
  4529.  
  4530.                  SPLIT Database Splitting Utility
  4531.  
  4532. SPLIT  takes a WSSINDEX database  and splits it  into two smaller
  4533. databases.   This function is something you might want to do if a
  4534. database  is pushing against the memory limits.  The output data-
  4535. bases will be  written in the format compatible with the DOS ver-
  4536. sion unless the number of files exceeds 16K.
  4537.  
  4538. SPLIT accepts  4 optional command  line parameters: configuration
  4539. file  name, input database  name, and two  output database names.
  4540. If specified, the  database names become  defaults which must  be
  4541. confirmed by hitting return.
  4542.  
  4543. After entering the database  names, you are shown all  the volume
  4544. names on one or a  few screens with volumes which will go  to the
  4545. second database highlighted.   (Initially, all volumes are marked
  4546. as going to  the first database.)   Move the cursor  (allowed mo-
  4547.  
  4548. Wssindex 5.25                   62                       Wssmerge
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561. tions summarized below) to  the volumes which  you want to go  to
  4562. the second output database and hit the spacebar.  The volume name
  4563. will be  highlighted to  indicate that  the disk  will go to  the
  4564. second database, and  the cursor will move to the  next volume in
  4565. the list.  If you change your mind, just tag the volume again and
  4566. it will toggle back.
  4567.  
  4568. At any time,  you can sort the list of volumes  by name, date in-
  4569. dexed, free disk space or numeric part of volume name.  (It's not
  4570. clear how useful  some of these sort  keys are, but they  already
  4571. existed from other places.)   After marking volumes, you  can ei-
  4572. ther abort the program or write the two databases.
  4573.  
  4574. This is a  rather crude utility in that it  doesn't give you very
  4575. much  information to  help you  decide how  to divide  the disks.
  4576. However, because it is  simple, it can handle large  databases in
  4577. limited memory, hence it can be used to break up a database which
  4578. is too large to loaded on some machines.
  4579.  
  4580.      Cursor motions       Standard keyboard    Rainbow keyboard
  4581.  
  4582.      up/down/left/right   arrow keys           arrow keys
  4583.      first volume shown   home                 Help
  4584.      1st column           ctl left arrow       ctl left arrow
  4585.      last column          ctl right arrow      ctl right arrow
  4586.      bottom of column     end                  Insert Here
  4587.      last volume shown    ctl end              Select
  4588.      next page            PgDn                 Next Screen
  4589.      previous page        PgUp                 Prev Screen
  4590.  
  4591.                   Database Conversion Utilities
  4592.  
  4593. There has been  surprisingly little demand for utilities  to con-
  4594. vert  databases from  other  disk indexing  programs to  WSSINDEX
  4595. format.  The following conversion programs, not normally included
  4596. in  the distribution package,  can be  supplied with any order at
  4597. no extra charge.
  4598.  
  4599. Backup  Master -  not exactly  what I  had in  mind when  I first
  4600. thought about conversion  utilities.  This  is a commercial  disk
  4601. backup  program which  produces  a "history  file" listing  where
  4602. backup copies of files are stored.  The history file is converted
  4603. into a WSSINDEX database.
  4604.  
  4605. Fastback  Plus (under development)  - Backup  Master was  sold to
  4606. Fastback, and the author  wrote Fastback Plus.  Backup  log files
  4607. similar  to those produced by  Backup Master can  be written, and
  4608. the Backup Master  conversion utility is being  revised to handle
  4609. these files.
  4610.  
  4611. Dos File Tracker - this is a disk cataloguer sold by IBM; a fair-
  4612. ly straightforward conversion.
  4613.  
  4614. Wssindex 5.25                   63                          Split
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627. Other formats are under consideration for future releases.
  4628.  
  4629.                       Problems and Solutions
  4630.  
  4631.                     Hard/software requirements
  4632.  
  4633. You  must have MS- or PC-DOS level  2.0 or higher to run WSSINDEX
  4634. (3.0 for extended version) because  it uses operating system fea-
  4635. tures not supported  by DOS-1.  If configured for  DOS video out-
  4636. put, WSSINDEX requires only a moderate level of IBM compatibility
  4637. to  run, but your system  must support ANSI  escape sequences for
  4638. cursor  positioning and  highlighting.   This support  may be  an
  4639. integral part  of your system (as  is the case for  the Sanyo 55x
  4640. series  without the video board option), but is often provided by
  4641. an installable device driver  called ANSI.SYS (ANSI55.SYS for the
  4642. Sanyo 55x with the video board).  If your system does not support
  4643. ANSI.SYS  commands, you  will see  the control  sequences on  the
  4644. screen;  they begin with a left arrow and  a [.  If you find that
  4645. you are having this problem, read about ANSI.SYS in Appendix B.
  4646.  
  4647. Many  MS-DOS machines which are not fully IBM compatible are able
  4648. to run WSSINDEX,  although often only  with the slower  DOS-calls
  4649. video  option.  Such machines often have hardware or software IBM
  4650. emulators;  these may enable WSSINDEX to run.  Machines with suf-
  4651. ficiently incompatible keyboards cannot run the standard version.
  4652. Versions for the  DEC Rainbow  and TI Professional  exist or  are
  4653. under development and will be released shortly after the IBM ver-
  4654. sion.
  4655.  
  4656.  
  4657.            Known incompatibilities with other software
  4658.  
  4659.                         Disk Cache Warning
  4660.  
  4661. WSSINDEX may not be compatible with the disk cache utility Light-
  4662. ning,  (old) version 4.2 (not to be confused with Borland's Turbo
  4663. Lightning).  Based  on user reports, it appears that  if two non-
  4664. system  disks (with labels  but no files on  them) are indexed in
  4665. succession,  the volume  name and  directory of  the second  will
  4666. appear to be identical  to the first.  This is not a WSSINDEX bug
  4667. because it can be reproduced using  the DOS VOL and DIR  commands
  4668. when Lightning is active.  I'm not sure exactly what circumstanc-
  4669. es will trigger the bug, and I don't have a copy of Lightning for
  4670. testing, but it is potentially catastrophic if directory informa-
  4671. tion is improperly buffered  when you write  to a disk.   Similar
  4672. problems could conceivably also occur with other disk cache util-
  4673. ities, although none have been reported.
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680. Wssindex 5.25                   64                     Conversion
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.                          Incompatible TSR
  4694.  
  4695. A user reports that if the Word Perfect program SHELLDOS is load-
  4696. ed, the Alt-letter  keys are  not functional in  Wssindex on  his
  4697. Tandy  2000.  This  is an ancient report,  quite likely no longer
  4698. true, but it  does point  out that memory  resident programs  can
  4699. cause unexpected side effects.
  4700.  
  4701.  
  4702.                    Answers to Common Questions
  4703.  
  4704. Q.  Help, my  screen is filled  with garbage, mostly  numbers and
  4705.     square brackets, but also some text.
  4706.  
  4707. A.  You  are configured to use  DOS calls for  screen output, but
  4708.     have not installed ANSI.SYS.  If your video  board is not IBM
  4709.     compatible, see  Appendix B  for information  about ANSI.SYS,
  4710.     otherwise read  about selecting  video mode in  the introduc-
  4711.     tion.
  4712.  
  4713. Q.  The menus would look better if they were enclosed in a box.
  4714.  
  4715. A.  They are boxed if you configure for direct video writes.  The
  4716.     menu  boxes are suppressed  when using DOS  calls because the
  4717.     large number  of cursor  positioning calls makes  drawing the
  4718.     boxes really slow.
  4719.  
  4720.  
  4721. Q.  Is Wssindex compatible with Microsoft Windows 3.x?
  4722.  
  4723. A.  WSSINDEX (DOS version)  will run under  Windows, but it  will
  4724.     not take advantage of any Windows features and  the available
  4725.     memory for database  storage will  be less than  if run  from
  4726.     DOS.  WSSINDEX/Extended will run under Windows in real, stan-
  4727.     dard or 386 enhanced mode.  To find out which mode Windows is
  4728.     in,  click on Help,  About Program  Manager from  the Program
  4729.     Manager window.  In  386 mode under Windows 3.1,  the Windows
  4730.     DPMI server will provide  virtual memory so that the  maximum
  4731.     database size will be set by a combination of free memory and
  4732.     disk swap space.
  4733.  
  4734.  
  4735. Q.  I set up a big RAM disk to increase storage capacity, but I'm
  4736.     still getting out of memory errors.
  4737.  
  4738. A.  WSSINDEX keeps  a database entirely in memory.  A RAM disk in
  4739.     conventional memory  will only  serve to decrease  the memory
  4740.     available to the program.  If  you are running out of memory,
  4741.     try removing any memory resident programs such as Sidekick.
  4742.  
  4743.  
  4744.  
  4745.  
  4746. Wssindex 5.25                   65                       Problems
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759. Q.  When  I print my  database, I get  all the volume  names (and
  4760.     subdirectories) first.
  4761.  
  4762. A.  These are the "dummy entries" which  give you a place to hang
  4763.     comments about  disks and subdirectories.   You probably want
  4764.     to  exclude them when sorting first by file name, and include
  4765.     them when  sorting first by  disk name.   The easiest way  to
  4766.     exclude them is  to use  selection option -1  to reject  file
  4767.     name .ID.
  4768.  
  4769.  
  4770. Q.  I don't  have any  subdirectories on  my disks,  yet WSSINDEX
  4771.     won't  let me configure for 0 subdirectories, and it tells me
  4772.     I have one, even if there are no disks in the database.
  4773.  
  4774. A.  Internally, the root  directories of all disks are treated as
  4775.     a single  subdirectory, and this pseudo-directory  is the one
  4776.     you see.
  4777.  
  4778.  
  4779. Q.  When I print,  every other page is  either blank or has  only
  4780.     one or a few lines printed on it.
  4781.  
  4782. A.  Check your configuration.  The number of lines on the printer
  4783.     is the number  of printable lines  with no margin  allowance.
  4784.     So, if you  are using 8.5x11" paper at 6  lines/inch, and ask
  4785.     for 66 print lines, your  printer will have just gone to  the
  4786.     top of a new page when WSSINDEX sends out a form feed.
  4787.  
  4788.  
  4789. Q.  My laser printer only prints 60  lines/page.  How can I print
  4790.     your documentation file which is formatted for 66 lines/page?
  4791.  
  4792. A.  I can  supply replacement documentation formatted for differ-
  4793.     ent page lengths,  or WordPerfect 5.1 files.   Although Word-
  4794.     Perfect  will attempt to convert  the document to  5.0 or 4.2
  4795.     format, some of the formatting does not survive conversion to
  4796.     5.0,  and even some  of the text gets  lost converting to 4.2
  4797.     format.
  4798.  
  4799.  
  4800. Q.  Some or all of the environment variables don't seem to work.
  4801.  
  4802. A.  Are you  setting them in  your AUTOEXEC.BAT file  and running
  4803.     out  of  environment  space?   Often  other  programs  run in
  4804.     AUTOEXEC  will clear the screen before you can read the error
  4805.     message.
  4806.  
  4807.  
  4808. Q.  When  I try to make multi-column listings or disk covers, the
  4809.     last item printed for each file is partially cut off.
  4810.  
  4811.  
  4812. Wssindex 5.25                   66               Common Questions
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825. A.  WSSINDEX builds  up a  print  line containing  all the  items
  4826.     specified in  the configuration, and then truncates it to fit
  4827.     in  the available number of  columns.  You  need to configure
  4828.     for fewer items printed, wider paper, or fewer columns.
  4829.  
  4830.  
  4831. Q.  Why don't  you  extract directory  information from  self-ex-
  4832.     tracting files?
  4833.  
  4834. A.  Because that would require  reading every EXE file to  see if
  4835.     it  was a  self-extractor, and  would greatly  slow indexing.
  4836.     This function may  be added as an option  in a future release
  4837.     if I can figure out  the necessary file formats (not  all are
  4838.     documented).
  4839.  
  4840.  
  4841. Q.  When  I print disk covers or multi-column listings for a disk
  4842.     with subdirectories, the separator line which should have the
  4843.     subdirectory name just says "Subdirectory".
  4844.  
  4845. A.  You are  configured to print  the subdirectory name  for each
  4846.     file,  so the name is not shown  a second time.  However, the
  4847.     page  is too  narrow  to display  the column  of subdirectory
  4848.     names, so  it is truncated.   The same thing  can happen with
  4849.     volume labels.   The solution  is not to  configure to  print
  4850.     items which are truncated due to page width.
  4851.  
  4852.  
  4853. Q.  I use ANSI.SYS to  redefine my function keys.   Wssindex sees
  4854.     these redefinitions so I can't use F10 to get out of the add-
  4855.     comments screen.
  4856.  
  4857. A.  If  your machine is  reasonably IBM compatible,  set the "Use
  4858.     BIOS to read keyboard" option to YES.
  4859.  
  4860.  
  4861. Q.  I can't seem to  make the push-to-DOS option work,  even with
  4862.     lots of memory free.
  4863.  
  4864. A.  Does  the  COMSPEC environment  variable  specify  a complete
  4865.     path?  If COMMAND.COM  (or whatever) is in the  root, COMSPEC
  4866.     says  d:COMMAND.COM rather then  d:\COMMAND.COM, and  you are
  4867.     logged into a subdirectory, COMMAND.COM will not be found.
  4868.  
  4869.  
  4870. Q.  I have  an ARC file which  PKXARC or PKUNPAK says  is ok, but
  4871.     WSSINDEX says it is corrupt.
  4872.  
  4873. A.  The  PKWare extraction  program will  silently skip  over any
  4874.     ascii text which is prepended to an ARC file.  SEA's ARC will
  4875.     warn you  that it is  doing this.  The  one file I  have seen
  4876.     with  this  problem had  the text  "Ready  to send  file with
  4877.  
  4878. Wssindex 5.25                   67               Common Questions
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.     XMODEM protocol"  prepended.  The solution is  to extract the
  4892.     files and recreate the archive.
  4893.  
  4894.                   Command Line Parameter Summary
  4895.  
  4896. The various programs in the WSSINDEX package accept optional com-
  4897. mand line parameters.  Summarized below are the parameters recog-
  4898. nized by each program.  Names  in upper case are the default file
  4899. names, other abbreviations are:
  4900.  
  4901. cnf  - a  configuration file.   Default  name set  by environment
  4902. variable WSSICNF, otherwise WSSINDEX.CNF.
  4903.  
  4904. dir - a database  file,  Default name set by environment variable
  4905. WSSIDIR, otherwise WSSINDEX.DIR.
  4906.  
  4907. * - use default.
  4908.  
  4909. = or - - generate database  name from configuration file name  by
  4910. adding .DIR extension.
  4911.  
  4912. cat1,2 -  categories to be  assigned to all  files from  first or
  4913. second  database.   Hyphen  means  none.   Multi-word  categories
  4914. should be enclosed in quotes.
  4915.  
  4916. WSSINDEX  cnf  dir
  4917.           *    *,=
  4918.  
  4919. IDADD     cnf  dir
  4920.           *    *
  4921.  
  4922. SPLIT     cnf  dir  1ST_HALF.DIR  2ND_HALF.DIR
  4923.           *    *,=  *             *
  4924.  
  4925. WSSMERGE  cnf  1ST_HALF.DIR  2ND_HALF.DIR  MERGED.DIR  cat1  cat2
  4926.           *    *             *             *           -     -
  4927.  
  4928.                              Support
  4929.  
  4930. The  DOS version  of WSSINDEX  is distributed  as shareware.   In
  4931. various past releases, the shareware program file has ranged from
  4932. identical to the  registered version  to limited to  a 1000  file
  4933. database.  Currently, the  shareware executable displays an open-
  4934. ing commercial, but is otherwise identical to the version sent to
  4935. purchasers (and as  an ASP member, I have  pledged not to release
  4936. crippled software).   If you purchase  the complete package,  you
  4937. will  receive the demo package  which you can  distribute, plus a
  4938. replacement for WSSINDEX.EXE without  the opening commercial  and
  4939. instructions  for removing whatever  limitations are  included in
  4940. future demo releases.  See page 71 or the file ORDERFRM.DOC for a
  4941.  
  4942.  
  4943.  
  4944. Wssindex 5.25                   68        Command Line Parameters
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957. fee  schedule and  order form.   Orders  and inquiries  should be
  4958. directed to:
  4959.  
  4960. Robert W. Babcock
  4961. WSS Division of DDC
  4962. 4 Reeves Road
  4963. Bedford, MA  01730
  4964. USA
  4965. Phone: 617-275-1183 or 9104
  4966. Support BBS: 617-275-5834
  4967. Email addresses:
  4968.     BIX:       rbabcock
  4969.     BitNet:    babcock@cfa
  4970.     Internet: babcock@cfa.harvard.edu
  4971.     Compuserve:     >INTERNET:babcock@cfa.harvard.edu
  4972. (babcock@cfa...  goes to a server  machine which forwards mail to
  4973. my current  address.  Mail I  send out may have  a return address
  4974. which is only valid for a limited time.)
  4975.  
  4976. The  1183 number above has an answering machine which serves both
  4977. my  business and household, so don't be surprised if the recorded
  4978. announcement says you  have reached the  Babcock household.   The
  4979. 9104 number does not have an answering machine, so that's the one
  4980. to try first if  you want to talk to a real person.  I don't mind
  4981. receiving phone calls, but  you will probably only get to leave a
  4982. short message before my answering machine cuts you off.  I do try
  4983. to respond to all correspondence.  If you do call, the best times
  4984. to try would  be early weekday  mornings, weekend afternoons,  or
  4985. evenings  8:45-10:00 (Eastern time) any day but Thursday.  If you
  4986. don't get a call back within a  few days, it usually means that I
  4987. called and got no answer.  Please try again or send a letter.
  4988.  
  4989. If  you have a bug report,  please mention the version number and
  4990. describe your machine and operating environment in as much detail
  4991. as  seems appropriate.   If I  am unable to  reproduce a reported
  4992. problem I may ask you to send a copy of your database, but usual-
  4993. ly this is not required.  Reports of incompatibility with partic-
  4994. ular brands of machine will always be accepted even from unregis-
  4995. tered users  (I can hardly ask you to buy the complete package if
  4996. the program doesn't work on your machine).
  4997.  
  4998.                      The Distribution Package
  4999.  
  5000. You should  have received the following  files, possibly combined
  5001. in one or more self-extracting or archive files.  Version numbers
  5002. for the  various executables (nnn in the names below) may not all
  5003. be the same.  Demo versions of executables will have a D appended
  5004. to the file  name, Rainbow and TI Pro versions  will have respec-
  5005. tively an  R or T  appended to the  file name (and the  name will
  5006. vary slightly if this would make it longer than 8 characters).
  5007.  
  5008.  
  5009.  
  5010. Wssindex 5.25                   69                        Support
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.  
  5021.  
  5022.  
  5023. BUGLIST.DOC -  a list of  known bugs in  previous versions and  a
  5024.                summary of enhancements.
  5025. CGA.CNF -      configuration file selecting  CGA (color  graphics
  5026.                adapter)  video, other options set to default val-
  5027.                ues.
  5028. CUTPAST3.COM,.DOC  - a public  domain cut and  paste utility, re-
  5029.                quires a somewhat higher degree of IBM compatibil-
  5030.                ity than WSSINDEX.  RPN.COM substituted with Rain-
  5031.                bow version.
  5032. DOSCALLS.CNF - configuration file selecting all  default options,
  5033.                including DOS calls video output.
  5034. IDADDnnn.EXE - a utility to modify old WSSINDEX databases so that
  5035.                comments may  be assigned  to disks and  subdirec-
  5036.                tories, not just files.
  5037. LATEST.VER -   list of current version numbers.
  5038. MDA.CNF -      configuration file selecting MDA  (monochrome dis-
  5039.                play adaptor) video, other  options set to default
  5040.                values.
  5041. PRNDEF.DOC -   a  description of  the  various  included  printer
  5042.                definition files.
  5043. *.DEF -        printer definition files.
  5044. README.DOC -   a very brief description of the other files.
  5045. SCREEN.DEF -   printer definition file  optimized for screen out-
  5046.                put (used by CUSTPRNT)
  5047. SITELIC.DOC -  a sample site license agreement.
  5048. SPLITnnn.EXE - database splitting utility.
  5049. TUNE.EXE -     (WSSINDEX/Extended only) utility to  configure DOS
  5050.                extender for your hardware.
  5051. VIEW.COM -     a simple, public domain document viewing utility.
  5052. VIEW.DOC -     documentation for VIEW.COM
  5053. WHATMEM.EXE -  (WSSINDEX/Extended only) utility which reports how
  5054.                much extended memory is available.
  5055. WSDPMnnn.EXE - (WSSINDEX/Extended only) protected mode  main exe-
  5056.                cutable.
  5057. WSSInnn.DOC -  this documentation file in ascii form.
  5058. WSSInnn.WP -   (registered  version  only) this  documentation in
  5059.                Word Perfect 5.1 format.
  5060. WSSInnn.EXE -  (registered version only)  WSSINDEX, the main exe-
  5061.                cutable program.
  5062. WSSInnnD.EXE - evaluation version of  WSSINDEX, the main  execut-
  5063.                able.
  5064. WSSMnnn.EXE -  WSSMERGE, a utility for merging  WSSINDEX databas-
  5065.                es.
  5066.  
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076. Wssindex 5.25                   70           Distribution Package
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.                        Ordering Information
  5090.  
  5091.                      WSSINDEX Price schedule
  5092.  
  5093. This fee schedule replaces any previous editions, except for site
  5094. license  agreements previously in effect.   All prices  are in US
  5095. dollars.  Extended version includes the DOS version.
  5096.  
  5097. Registration Level       Wssindex (DOS)      Wssindex/Extended
  5098.  
  5099. Level 1  Single user     $35                 $50
  5100. Level 2  2-10 users      $10 + 25 per user   $15 + 35 per user
  5101. Level 3  11-20 users     $60 + 20 per user   $115 + 25 per user
  5102. Level 4  21-50 users     $160 + 15 per user  $215 + 20 per user
  5103. Level 5  51-100 users    $410 + 10 per user  $465 + 15 per user
  5104. Level 6  101-500 users   $910 + 5 per user   $965 + 10 per user
  5105. Level 7  >500 users      $3410               $5965
  5106.  
  5107. Evaluation copy (DOS versions only)   $5.00
  5108.   (cost credited towards purchase of complete package)
  5109.  
  5110. Upgrade (plus shipping)
  5111.      DOS                               5.00
  5112.      Extended                          5.00
  5113.      DOS to Extended                  15.00
  5114.  
  5115. Printed manuals (including postage)
  5116.      USA or Canada                    10.00
  5117.      Other countries                  16.00
  5118.  
  5119. Media, shipping and handling, required for all orders
  5120.      USA and Canada                    2.50 ($2 evaluation)
  5121.      Other countries                   4.50 ($4 evaluation)
  5122.  
  5123. Check not drawn on US bank
  5124.      Canada                            1.00
  5125.      Elsewhere (avoid if possible)    15.00
  5126.  
  5127. Registration level upgrade
  5128.      price differential between old and new  levels plus $10 ser-
  5129.      vice charge
  5130.  
  5131. Please include sales tax or exemption number for orders delivered
  5132. in Massachusetts.
  5133.  
  5134. Software  upgrades: your  license covers  all future  versions of
  5135. WSSINDEX and related utilities.   Level 2 registrants will  auto-
  5136. matically  be  sent one  copy of  the  next release  of WSSINDEX.
  5137. Level 3, 4, 5, 6 and  7 registrants will be sent one copy  of all
  5138. new releases made,  respectively, in  the 6 month,  12 month,  18
  5139. month, 2 year or 3 year period following purchase.
  5140.  
  5141.  
  5142. Wssindex 5.25                   71                     Order Info
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155. Notes:
  5156.  
  5157. 1.  The  DOS version  of  WSSINDEX is  distributed as  shareware.
  5158.     WSSINDEX is not  and has never  been public domain  software.
  5159.     If you have received the evaluation version, you  are granted
  5160.     a  limited license  to evaluate it  to see  if it  meets your
  5161.     needs.  After a 60 day evaluation period, you are expected to
  5162.     either register or stop using the  program.  With a paid reg-
  5163.     istration (and postage) you  will receive a copy of  the cur-
  5164.     rent evaluation release, plus a replacement for the main rou-
  5165.     tine which does not display the opening screen and a personal
  5166.     password for disabling the opening screen from future evalua-
  5167.     tion releases.  The evaluation version  may be distributed to
  5168.     other users for their evaluation.
  5169.  
  5170. 2.  WSSINDEX is mainly written in Turbo C (with a little assembly
  5171.     language  code), but it uses a few routines derived with only
  5172.     small  modifications from the Computer Innovations C86 source
  5173.     library.  This makes it essentially impossible for me to sell
  5174.     source code, although something  could probably be worked out
  5175.     if someone had a sufficient need.
  5176.  
  5177. 3.  I recognize that determining the exact number of users is im-
  5178.     possible in a large  organization.  A good faith  estimate is
  5179.     sufficient.  When  counting users, you  may use the  "like-a-
  5180.     book" rule: just as a book can only be read by one  person at
  5181.     a time, it should not be possible for  more than the licensed
  5182.     number of users to use the software simultaneously.
  5183.  
  5184. 4.  This price schedule is continuous at the price breaks.  It is
  5185.     never true that the total cost decreases when you add another
  5186.     user, but  the marginal  cost  declines, eventually  reaching
  5187.     zero at the highest registration level.
  5188.  
  5189. 5.  The question may arise in this era of multi-national corpora-
  5190.     tions,  who can be covered under a  single site license?  The
  5191.     answer is a single  company including wholly owned subsidiar-
  5192.     ies.  For complicated situations, please contact WSS Division
  5193.     of DDC for a price quote.
  5194.  
  5195. 6.  If you have needs which might  be met by a special version of
  5196.     WSSINDEX, or a related custom utility, please contact the au-
  5197.     thor at the  address below for estimates of feasibility, cost
  5198.     and development time.
  5199.  
  5200. 7.  To register  or to upgrade, you may print copies of the order
  5201.     form below or use  any convenient form.  Please pay by check;
  5202.     I can handle purchase orders, but I cannot take credit cards.
  5203.     Checks  may be made  payable to Robert  W. Babcock  or to WSS
  5204.     Division of DDC.  If you have any comments about the program,
  5205.     please attach them and indicate which version they apply to.
  5206.  
  5207.  
  5208. Wssindex 5.25                   72                     Order Info
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221. 8.  The charge for  bug correction upgrades  (only last digit  of
  5222.     version number changed) is only the shipping and handling fee
  5223.     ($2.50 US and Canada,  $4.50 elsewhere), or free if a bug be-
  5224.     ing fixed substantially interfered with your  use of the pro-
  5225.     grams.
  5226.  
  5227. 9.  If you need a  receipt for tax or accounting  purposes, check
  5228.     the appropriate  box.  Otherwise,  you will receive  a letter
  5229.     with your personal password.
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.  
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  
  5252.  
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274. Wssindex 5.25                   73                     Order Info
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.                        WSSINDEX ORDER FORM
  5288.  
  5289. To: WSS Division of DDC                         Date: ___/___/___
  5290.     4 Reeves Road                  Version registered ___5.25____
  5291.     Bedford, MA  01730
  5292.  
  5293. Name      _____________________________  Phone ____________
  5294.  
  5295. Company   _____________________________
  5296.  
  5297. Address   _____________________________
  5298.  
  5299.           _____________________________
  5300.  
  5301. City      _________________  State ________  Zip _________
  5302.  
  5303.  
  5304. Check appropriate boxes: [ ] Printed manual (else docs on disk)
  5305.  
  5306.    [ ] Full registration  [ ] Evaluation copy (DOS only)   [ ] Upgrade
  5307.  
  5308.    [ ] Site license       [ ] Bug fix upgrade, postage fee only
  5309.  
  5310.    [ ] Please send receipt (in addition to letter with password)
  5311.  
  5312. Disk format:   [ ] 5.25", 360K            [ ] 3.5", 720K
  5313.                [ ] 5.25", 1.2MB           [ ] 3.5", 1.44MB
  5314.  
  5315. Version:  [ ] IBM PC & most compatibles [ ] Extended for 286/386/486
  5316.  
  5317.           [ ] DEC Rainbow (MS-DOS)      [ ] TI Professional
  5318.  
  5319. Description                   Price    Total
  5320.  
  5321. WSSINDEX/Extended New Reg.   $50.00
  5322.           or upgrade           5.00
  5323. DOS to Extended upgrade       15.00
  5324. WSSINDEX Registration         35.00
  5325.           or Upgrade           5.00
  5326. Demo evaluation copy           5.00
  5327. Printed manual (US/Canada)    10.00
  5328.           elsewhere           16.00
  5329. Massachusetts sales tax                               (Mass only)
  5330. Postage US/Canada              2.50     2.50     ($2.00 for demo)
  5331.           other countries      4.50
  5332. Non-US bank check
  5333.    (see fee schedule)
  5334. Site license for ___ users
  5335.                                       ------
  5336. Amount due:
  5337.  
  5338.  
  5339.  
  5340.  
  5341.  
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.    Appendix A - Forcing Video Board Type if Autodetection Fails
  5354.  
  5355. Wssindex attempts to identify the type of video adapter installed
  5356. so that  it can update  the screen  by writing directly  to video
  5357. memory.  If  Wssindex does  not recognize your  video adapter  it
  5358. will  instead use ANSI escape sequences for highlighting and cur-
  5359. sor  positioning.  If your system is not configured to respond to
  5360. these sequences, the  screen display will be  unusable.  Instruc-
  5361. tions  for adding  this capability  to your  system are  given in
  5362. Appendix B, but for most machines performance will be much better
  5363. if you tell Wssindex which video driver to use.   Available driv-
  5364. ers  support  monochrome  display  adapter (MDA)  color  graphics
  5365. adapter (CGA),  EGA and VGA.   Since Wssindex is  strictly a text
  5366. mode  application, other types of video  board will normally emu-
  5367. late one of these.  As part of the standard distribution package,
  5368. you should find  configuration files MDA.CNF and CGA.CNF.  Figure
  5369. out  which  one is  appropriate  for  your hardware,  and  invoke
  5370. WSSINDEX by
  5371.  
  5372.     WSSINDEX CGA
  5373. or  WSSINDEX MDA
  5374.  
  5375. (note that  the extension .CNF  is supplied automatically  if you
  5376. leave  it off.   You can specify  a drive or  path if necessary.)
  5377. Use CGA.CNF for initial  setup with an EGA  and VGA; these  cards
  5378. are  compatible with  a  CGA except  for  setting border  colors.
  5379. Alternatively,  before starting you can issue one of the DOS com-
  5380. mands
  5381.  
  5382.     SET WSSDISP=monochrome
  5383.     SET WSSDISP=color
  5384.     SET WSSDISP=ega
  5385. or  SET WSSDISP=vga
  5386.  
  5387. as appropriate  to set the default screen writing method.  If you
  5388. select the  wrong  display type,  you may  find yourself  "flying
  5389. blind" and a reboot  will likely be necessary although  you might
  5390. be able  to recover by hitting  escape a few times  and then con-
  5391. trol-q.  Once you get running with the proper video  type select-
  5392. ed, save a configuration file with the default name WSSINDEX.CNF.
  5393.  
  5394. Some non-IBM-compatible machines, such as the Sanyo 555, may hang
  5395. when Wssindex attempts to determine the video  type.  If you want
  5396. to force Wssindex to use ANSI escape sequences without performing
  5397. the video type checks, use SET WSSDISP=doscalls.  (Any recognized
  5398. setting of WSSDISP prevents  the video type checking.)   There is
  5399. also a  DOSCALLS.CNF configuration file included  in the standard
  5400. distribution, but the configuration file  is read after the video
  5401. type checks.
  5402.  
  5403.  
  5404.  
  5405.  
  5406. Wssindex 5.25                   75                     Appendix A
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  
  5418.  
  5419.                Appendix B - ANSI.SYS Screen Driver
  5420.  
  5421. MS/PC-DOS 2  and higher  allow  you to  install software  "device
  5422. drivers"  when  you boot  your computer.   These  are essentially
  5423. extensions  of the operating system to  handle specific pieces of
  5424. hardware.  If WSSINDEX is configured to use DOS calls  for screen
  5425. output, most systems will need to use the screen driver ANSI.SYS,
  5426. otherwise  the control  sequences  which are  supposed to  select
  5427. colors, position  the  cursor or  clear the  screen will  instead
  5428. appear as characters on the screen.
  5429.  
  5430. Installation  of ANSI.SYS is simple:   Check your  boot disk with
  5431. the DIR  command to see if  you have a file  called CONFIG.SYS in
  5432. the  root directory.  If  not, use your  favorite word processing
  5433. program to create such a file, and include in it the line
  5434.  
  5435.           DEVICE=ANSI.SYS
  5436.  
  5437. Either  upper or lower case is allowed,  but if you use an editor
  5438. such as WordStar which  can encode formatting information in  the
  5439. text,  be sure  to  specify  non-document  mode.    If  you  TYPE
  5440. CONFIG.SYS, you shouldn't see any funny  graphics characters.  If
  5441. you already have a CONFIG.SYS file, simply add the above line  to
  5442. it with a word processor, again in non-document mode.
  5443.  
  5444. Make sure that  the file ANSI.SYS is on your  boot disk, then re-
  5445. boot your system.  Watch  for any error messages during the  boot
  5446. process.  The display  should now be much more  intelligible when
  5447. you run WSSINDEX in DOS calls mode.
  5448.  
  5449. Notes:
  5450.  
  5451. 1.  The  Dec Rainbow and the  Sanyo 555 (without  the video board
  5452.     option) don't need ANSI.SYS because these functions are built
  5453.     into the operating system.  There are probably other machines
  5454.     for which  this is also true.  It is verrrrrry obvious if you
  5455.     lack ANSI support.
  5456.  
  5457. 2.  ANSI.SYS is not  particularly fast at screen  display.  There
  5458.     are alternative commercial, shareware and  public domain pro-
  5459.     grams with names like FANSI.SYS, NANSI.SYS, which do  a some-
  5460.     what  better job on IBM-PC compatibles.  Also, different ver-
  5461.     sions  of ANSI.SYS  and replacements  support different  com-
  5462.     mands.  I believe  that WSSINDEX now uses only  commands sup-
  5463.     ported by all  ANSI.SYS variants,  but this was  not true  in
  5464.     early releases.
  5465.  
  5466. 3.  A  user once  complained that  ANSI.SYS interfered  with some
  5467.     other applications software, but normally having it installed
  5468.     all the time will do nothing worse than use up a little memo-
  5469.     ry.   However,  ANSI.SYS also  supports control  sequences to
  5470.     redefine keys.  A  rogue program could play games  like rede-
  5471.  
  5472. Wssindex 5.25                   76                     Appendix B
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.     fining some key to mean DEL *.* or FORMAT C:  with the appro-
  5486.     priate confirmation.   PC Magazine published  an ANSI.SYS re-
  5487.     placement which could be configured  to not allow key redefi-
  5488.     nitions; other  ANSI.SYS replacements  may  have similar  op-
  5489.     tions.
  5490.  
  5491.             Appendix C - Expanding the DOS Environment
  5492.  
  5493. MS-DOS versions 2.0 and  higher reserve an area of  memory called
  5494. the environment space  which can be used  to hold strings of  the
  5495. form
  5496.  
  5497.      VARIABLE=value
  5498.  
  5499. You can view the environment variables  by typing SET, or you can
  5500. change them by typing SET something=whatever.  DOS puts the PATH,
  5501. PROMPT and COMSPEC variables  here.  Wssindex looks in  the envi-
  5502. ronment  for WSSICNF,  WSSIDIR, WSSDISP  and WSSPRINT,  and other
  5503. programs do similar things.  By default, the environment space is
  5504. only 160  characters long (256  in DOS 5),  and if you  have more
  5505. than one or  two programs using the  environment, you may get  an
  5506. "out of environment space" error from DOS.  This  message is most
  5507. likely to occur  when the SET commands are in  a BAT file because
  5508. DOS is  able to expand the  environment beyond 160  bytes only if
  5509. there  is nothing  in the  way.   Running a  BAT  file (including
  5510. AUTOEXEC) gets in the way until the BAT file exits, as does load-
  5511. ing a terminate-and-stay-resident program.
  5512.  
  5513. The  initial environment size can be increased easily, if you are
  5514. using  DOS  3.0  or  higher,  by  the  SHELL  directive  in  your
  5515. CONFIG.SYS file.  The syntax is
  5516.  
  5517.      SHELL = [path]COMMAND.COM [path] /P /E:nnn
  5518.  
  5519. where nnn specifies the environment  size.  For DOS 3.0  and 3.1,
  5520. nnn is in paragraphs (16 bytes); for  DOS 3.2 or higher it is  in
  5521. bytes, and  is rounded up to  a multiple of 16.   Don't forget to
  5522. include the /P or else your AUTOEXEC.BAT file will not be execut-
  5523. ed.   The  second [path]  tells COMMAND.COM  where to  reload its
  5524. transient  portion from.  Typically both paths are the same.  Any
  5525. change will not take effect until you reboot.
  5526.  
  5527. The DOS 2.x SHELL directive does not  recognize the /E option, so
  5528. the only way to increase the default environment size is to patch
  5529. COMMAND.COM.  Also, under any DOS version, if you load a  second-
  5530. ary command processor (S option from Wssindex), the size environ-
  5531. ment you  will have until you  exit is the larger  of the current
  5532. environment  and the 160 or 256 byte default.  Microsoft supplies
  5533. a utility called SETENV with some of its  compilers to change the
  5534. default environment  size, but it does  not recognize COMMAND.COM
  5535. from all  vendors (for example, it  doesn't recognize COMMAND.COM
  5536. for my old Sanyo 555).  It isn't too difficult to do the patch by
  5537.  
  5538. Wssindex 5.25                   77                     Appendix B
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551. hand; details are given  in an article  by Richard Hale Shaw,  PC
  5552. Magazine, April 14, 1987, page 295.
  5553.  
  5554.               Appendix D - WSSINDEX Database Format
  5555.  
  5556. This is a description of the format of a WSSINDEX database.  This
  5557. information  is not needed for  normal program operation, but may
  5558. be useful if  you want to write a program  to convert an existing
  5559. database into a WSSINDEX database, read the database with another
  5560. program  to produce  a customized listing,  or recover  a damaged
  5561. disk file.   This description may be easier to  follow if you use
  5562. it as a guide while examining a small database with DEBUG or some
  5563. other utility.
  5564.  
  5565. Dates and times are stored in the same format  as used in an FCB.
  5566. Date  has 7 bits for  years since 1980, 4 bits  for month, 5 bits
  5567. for day.  Time has 5 bits for hour, 6 bits for minute, 5 bits for
  5568. second.
  5569.  
  5570. The database is  stored with disks in the order  they are indexed
  5571. and files in the order of the disk directories.
  5572.  
  5573. Wssindex/Extended can write two formats, the "small" format which
  5574. is compatible with the  DOS version and the "large"  format which
  5575. allows for more than 16K files.
  5576.  
  5577. Notation:
  5578.     \n   - a newline, that is an ASCII linefeed, hex 0A
  5579.     \EOS - end of string marker, hex 0
  5580.     *    - a field dependent on the WSSINDEX version
  5581.     var  - variable length
  5582.  
  5583.     Length Contents
  5584.     (bytes)
  5585.  
  5586. Header:
  5587.  
  5588.     9      "WSSINDEX\n"  (small  format)  of "WSEXTEND\n"  (large
  5589.            format)
  5590.     4-6*   version number\n
  5591.     2 or 4 number of disks in database, 4 bytes if large format
  5592.     2 or 4 number of subdirectories (including root), 4  bytes if
  5593.            large format
  5594.     2 or 4 number of files, 4 bytes if large format
  5595.  
  5596. Disk record, repeated for each disk:
  5597.  
  5598.     11     volume name, blank padded to 11 chars (no \n or EOS)
  5599.     4      bytes on disk
  5600.     4      free bytes on disk
  5601.     2 or 4 number of files on disk, 4 bytes if large format
  5602.  
  5603.  
  5604. Wssindex 5.25                   78                     Appendix C
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.  
  5615.  
  5616.  
  5617.     2 or 4 number of subdirectories on  disk (not counting root),
  5618.            4 bytes if large format
  5619.     2      date indexed
  5620.     1      "Y" or "N" for bootable or not, "?" for dummy entry
  5621.  
  5622. Subdirectory record, repeated for each subdirectory:
  5623.  
  5624.     2 or 4 disk number,  count starts at  zero, 4 bytes  if large
  5625.            format
  5626.     var    subdirectory name\n
  5627.  
  5628. File record, repeated for each file:
  5629.  
  5630.     9      file name\EOS    there may be garbage after  the \EOS.
  5631.            \EOS is 1st character if this is a .ID record
  5632.     4      extension\EOS   there may be garbage after the \EOS
  5633.     2      date
  5634.     2      time
  5635.     4      size
  5636.     2 or 4 disk number,  high bit set if  file is a member  of an
  5637.            archive file, 4 bytes if large format
  5638.     2 or 4 subdirectory  number (root  is 0)  for ordinary  file,
  5639.            file  number of  containing  archive file  for archive
  5640.            member, 4 bytes if large format
  5641.     1      "C" (if commented), else blank
  5642.     var    comment\n   if comments flag is "C"
  5643.     1*     "C" (if categorized), else  blank; field only  present
  5644.            if written by version 2.00 or later
  5645.     var*   category\n  if category flag is "C"
  5646.  
  5647. Note  that there is not a control-Z to  mark the end of file, and
  5648. there may  be embedded control-Z's  in the  binary fields  (date,
  5649. time, size, etc.).
  5650.  
  5651. This information is subject to change in future releases.  Howev-
  5652. er, I  do guarantee  that WSSINDEX  will always  be able to  read
  5653. databases written by older versions of the program (possibly with
  5654. a conversion utility).   Note that this guarantee does  not apply
  5655. to configuration files.
  5656.  
  5657.               Appendix E - Printer Definition Files
  5658.  
  5659. Some of  the Wssindex output options  need to be able  to set the
  5660. print pitch and line spacing on your printer (e.g., printing disk
  5661. covers  or labels  which  require small  print).   Unfortunately,
  5662. there is  no standard way to do this; all printers are different.
  5663. So, Wssindex must be told how  to control your printer.  You sup-
  5664. ply this information in a printer  definition file.  (I'd call it
  5665. a configuration file, but that term is already  being used.)  The
  5666. name of the  printer definition  file is set  by the  environment
  5667. variable  WSSPRINT, analogous  to WSSICNF  and  WSSIDIR.   If not
  5668. specified,  the default name is  WSSPRINT.DEF.  The  file is read
  5669.  
  5670. Wssindex 5.25                   79                     Appendix D
  5671.  
  5672.  
  5673.  
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.  
  5681.  
  5682.  
  5683. the  first time a print operation which needs the definition file
  5684. is requested, or when you select "E" from the print menu.  
  5685.  
  5686. The standard distribution  package includes definition  files for
  5687. several  popular printers.   Some  of these  have been  tested on
  5688. printers  available to me, some  have been donated  by users, and
  5689. some were created by  looking at printer manuals or  driver files
  5690. from  word processing programs.  The comments at the beginning of
  5691. each  file indicate  whether or  not the  file has  been properly
  5692. tested.  If none of the supplied definition files is adequate for
  5693. your printer,  you will need  to look  up control  codes in  your
  5694. printer manual and  modify one of the supplied  files.  I realize
  5695. that it would be better  if I supplied definition files  for hun-
  5696. dreds  of different printers, but  I don't have  the resources to
  5697. create and test them.  Registered users who have problems config-
  5698. uring  should send me a  photocopy of the  appropriate pages from
  5699. their printer manual (usually the control codes are summarized in
  5700. a few pages) and I will try to assist.  Of course, it may be that
  5701. your printer does not accept any commands, in which case you must
  5702. make any necessary selections manually.
  5703.  
  5704. The format of the  definition files is designed for  easy editing
  5705. with  a word processing  program.  The  file begins with  as many
  5706. lines of comments as desired, until a line beginning with ---- is
  5707. encountered.  After this, alternate lines are comments and param-
  5708. eters.  The comment lines are  ignored when the file is read, but
  5709. since  they tell you what  the parameters mean,  the only changes
  5710. you should make are to add more detail.  Printer  command strings
  5711. can be omitted, but  other parameters should have a  value filled
  5712. in.
  5713.  
  5714. Characters in the printer definition (other than the printer name
  5715. and  owner id) are interpreted  as a series  of tokens optionally
  5716. separated by blanks or commas.  Each token may be an octal, deci-
  5717. mal,  or hex number, an  ascii character, or  a special abbrevia-
  5718. tion.   Blank or comma  delimiters are only  necessary to resolve
  5719. ambiguities about where one  token ends and the next  begins, but
  5720. are recommended to improve human readability.
  5721.  
  5722. Octal numbers - begin with a 0, contain only the  digits 0-7, and
  5723. are not larger than 377.  Terminated by a comma, blank or special
  5724. abbreviation.
  5725.  
  5726. Decimal numbers - begin with a non-zero digit and  are not larger
  5727. than 255.   Of course, zero  is entered  as 0.   Terminated by  a
  5728. comma, blank or special abbreviation.
  5729.  
  5730. Hexadecimal numbers - begin with 0x or 0X and are not larger than
  5731. 0xff.  Letters A-F (if used) can be lower or  upper case.  Termi-
  5732. nated by a comma, blank or special abbreviation.
  5733.  
  5734.  
  5735.  
  5736. Wssindex 5.25                   80                     Appendix E
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749. Ascii characters  - any  normal  character other  than a  number,
  5750. comma, blank or backslash.  No terminator needed.
  5751.  
  5752. Special abbreviations (may also be upper case) - 
  5753.  
  5754.    \digit - number as a character rather than a binary value
  5755.    \b     - backspace
  5756.    \c     - comma
  5757.    \e     - escape
  5758.    \f     - form feed
  5759.    \n     - newline (linefeed)
  5760.    \r     - carriage return
  5761.    \s     - blank (space)
  5762.    \t     - tab
  5763.    \\     - \
  5764.  
  5765. Be careful of numbers; 1 means  the binary value 1 while \1 means
  5766. the ascii character one which  has the binary value 31 hex  or 49
  5767. decimal.   Printer manuals often are unclear  about this distinc-
  5768. tion.
  5769.  
  5770. To make the entries in the printer definition file more readable,
  5771. I have adopted the convention that entries which code for a  sin-
  5772. gle output  byte are separated by blanks, and the groups of char-
  5773. acters which make up a single command to the printer are separat-
  5774. ed by  commas.   For example:  suppose you want  to set  an Epson
  5775. printer to 
  5776.  
  5777.    8 lines per inch           (command ESC "0")  (character 0)
  5778.    12 characters per inch     (command ESC "B" 2)
  5779.    double strike              (command ESC "G")
  5780.  
  5781. The printer definition file entry could be:  \e \0,\e B 2,\e G
  5782.  
  5783. To  continue a sequence on the following line, terminate the cur-
  5784. rent line with a backslash.   There is a conversion table  in Ap-
  5785. pendix E which may be useful in creating definition files.
  5786.  
  5787. Margins, width  and length  specifications in this  file override
  5788. those found in WSSINDEX.CNF when printing labels or covers.
  5789.  
  5790. The definable items are:
  5791.  
  5792. Printer name  - echoed to  the screen during  initialization, but
  5793. otherwise not used.
  5794.  
  5795. Three  sets of  printer initialization  commands - 50  chars max.
  5796. (That's 50 characters after converting  to internal form.  Multi-
  5797. digit numbers count as  one character, and blanks don't  count at
  5798. all.)  The first set is used for multi-column printing,  the sec-
  5799. ond  for disk labels, and  the third for  disk covers.  Typically
  5800. this would include  commands to select  the number of  characters
  5801.  
  5802. Wssindex 5.25                   81                     Appendix E
  5803.  
  5804.  
  5805.  
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815. per  inch printed and line spacing.   You may also be able to get
  5816. very small characters by selecting subscript or superscript mode,
  5817. although  some printers (like mine) are slow  in this mode and do
  5818. not print characters  with descenders  very well.   You can  also
  5819. include any other necessary initialization commands here, such as
  5820. bold printing or form length.
  5821.  
  5822. Printer deinitialization  command - 50  chars max.   This command
  5823. string is  sent to the printer  after a print task  is completed.
  5824. It could include a form feed to eject the last  page from a laser
  5825. printer, or could reset default printer options.
  5826.  
  5827. Left margin for labels - number of print positions to leave blank
  5828. before printing the first column of labels.
  5829.  
  5830. Number of columns for labels - the number  of blank labels across
  5831. a row of your forms.
  5832.  
  5833. Width of labels  - The number of characters which will fit across
  5834. a  label (starting from the  left margin).   This effectively de-
  5835. fines the right margin.
  5836.  
  5837. Number  of characters  between labels  - for  multi-column forms,
  5838. this is  the number of characters between the right margin of one
  5839. label and the left margin of the next.
  5840.  
  5841. Length of label in lines  - label size, including top and  bottom
  5842. margin lines which you don't want to print on.
  5843.  
  5844. Number of  usable lines  for label -  maximum number of  lines to
  5845. print on a label.
  5846.  
  5847. Left margin for disk covers - number of print  positions to leave
  5848. blank  before printing left side of box which surrounds disk cov-
  5849. ers.
  5850.  
  5851. Width of paper for disk covers  - number of characters which will
  5852. fit in 5.25 inches (or 3.5 or whatever disk size you use).
  5853.  
  5854. Length  of page in lines for disk  covers - number of lines which
  5855. will fit in 5.25 inches (or 3.75 inches for paste-on size).
  5856.  
  5857. Position for the  next disk cover -  70 characters max.   Printer
  5858. command to  position the paper  for the  next disk  cover.   This
  5859. could be a form feed, or a number of line feeds.  A 0 (zero) here
  5860. is  interpreted to mean manual  positioning, with a  pause at the
  5861. end of each cover.
  5862.  
  5863. Command  to use for sides of disk  cover box - 70 characters max.
  5864. Disk cover  listings have a border drawn  around them.  The sides
  5865. of  this border could be  a vertical stroke,  or your printer may
  5866. have a better graphics character available.  If no suitable char-
  5867.  
  5868. Wssindex 5.25                   82                     Appendix E
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881. acter  is available,  or for  faster printing,  just use  a blank
  5882. (32).   Characters which form boxes on a printer may display very
  5883. differently on screen.
  5884.  
  5885. Command  to use for  top and  bottom lines  - 70  characters max.
  5886. Probably a hyphen or a graphics character.
  5887.  
  5888. Command to use for top left corner - 70 characters max.  If  your
  5889. printer has box forming characters in its graphics character set,
  5890. use them for  the corner  characters, otherwise you  can use  the
  5891. same character as the top or sides, or a blank, or a plus, which-
  5892. ever you think looks best.
  5893.  
  5894. Command to use for top right corner - 70 characters max.
  5895.  
  5896. Command to use for bottom left corner - 70 characters max.
  5897.  
  5898. Command to use for bottom right corner - 70 characters max.
  5899.  
  5900. End of printer definition file
  5901. ----------
  5902.  
  5903. Additional items may be added to this file in future releases  if
  5904. users report that  there are printers which cannot  be adequately
  5905. defined.  If you  create a definition file for a different print-
  5906. er, especially  a laser printer,  I would appreciate  receiving a
  5907. listing so that I will have it when the inevitable cries for help
  5908. come in from other users.
  5909.  
  5910. Registered users are encouraged to  suggest the custom print for-
  5911. mats which they would like to see added to Wssindex.
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934. Wssindex 5.25                   83                     Appendix E
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.            Appendix F - Character Code Conversion Table
  5948.  
  5949.   ascii decimal hex     ascii decimal hex     ascii decimal  hex
  5950.  
  5951.    NUL     0      0       +     43     2B       V      86     56
  5952.    SOH     1      1       ,     44     2C       W      87     57
  5953.    STX     2      2       -     45     2D       X      88     58
  5954.    ETX     3      3       .     46     2E       Y      89     59
  5955.    EOT     4      4       /     47     2F       Z      90     5A
  5956.    ENQ     5      5       0     48     30       [      91     5B
  5957.    ACK     6      6       1     49     31       \      92     5C
  5958.    BEL     7      7       2     50     32       ]      93     5D
  5959.    BS      8      8       3     51     33       ^      94     5E
  5960.    TAB     9      9       4     52     34       _      95     5F
  5961.    LF     10      A       5     53     35       `      96     60
  5962.    VT     11      B       6     54     36       a      97     61
  5963.    FF     12      C       7     55     37       b      98     62
  5964.    CR     13      D       8     56     38       c      99     63
  5965.    SO     14      E       9     57     39       d     100     64
  5966.    SI     15      F       :     58     3A       e     101     65
  5967.    DLE    16     10       ;     59     3B       f     102     66
  5968.    DC1    17     11       <     60     3C       g     103     67
  5969.    DC2    18     12       =     61     3D       h     104     68
  5970.    DC3    19     13       >     62     3E       i     105     69
  5971.    DC4    20     14       ?     63     3F       j     106     6A
  5972.    NAK    21     15       @     64     40       k     107     6B
  5973.    SYN    22     16       A     65     41       l     108     6C
  5974.    ETB    23     17       B     66     42       m     109     6D
  5975.    CAN    24     18       C     67     43       n     110     6E
  5976.    EM     25     19       D     68     44       o     111     6F
  5977.    SUB    26     1A       E     69     45       p     112     70
  5978.    ESC    27     1B       F     70     46       q     113     71
  5979.    FS     28     1C       G     71     47       r     114     72
  5980.    GS     29     1D       H     72     48       s     115     73
  5981.    RS     30     1E       I     73     49       t     116     74
  5982.    US     31     1F       J     74     4A       u     117     75
  5983.           32     20       K     75     4B       v     118     76
  5984.    !      33     21       L     76     4C       w     119     77
  5985.    "      34     22       M     77     4D       x     120     78
  5986.    #      35     23       N     78     4E       y     121     79
  5987.    $      36     24       O     79     4F       z     122     7A
  5988.    %      37     25       P     80     50       {     123     7B
  5989.    &      38     26       Q     81     51       |     124     7C
  5990.    '      39     27       R     82     52       }     125     7D
  5991.    (      40     28       S     83     53       ~     126     7E
  5992.    )      41     29       T     84     54       DEL   127     7F
  5993.    *      42     2A       U     85     55
  5994.  
  5995. Three letter combinations are non-printing control characters.
  5996.  
  5997.  
  5998.  
  5999.  
  6000. Wssindex 5.25                   84                     Appendix F
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012.  
  6013. In WSSINDEX versions for non-IBM compatible machines, all of  the
  6014. executable files  are different,  but this documentation  file is
  6015. unchanged.  Beware of trying  to transfer configuration files be-
  6016. tween versions  of WSSINDEX  for different machines.   Generally,
  6017. this is only safe if  DOS-calls video is selected, and even  then
  6018. you should  examine the transferred configuration  for any anoma-
  6019. lies.   Printer definition  files and databases  are transferable
  6020. between versions.
  6021.  
  6022.  
  6023.               Appendix G - WSSINDEX for DEC Rainbow
  6024.  
  6025. I  now own  a minimally  configured Rainbow  100A for  testing so
  6026. Rainbow  and IBM releases should be  roughly coincident.  Rainbow
  6027. versions will normally be sent on RX-50 format disks, which I can
  6028. write  either on the Rainbow or on a 1.2 MB drive using a special
  6029. device driver.
  6030.  
  6031. The  Rainbow  version of WSSINDEX is the same as the IBM  version
  6032. with the following exceptions:
  6033.  
  6034. 1.  Color  is not supported but fast video display and 132 column
  6035.     screens are supported.  For fast video, specify SET WSSDISP=V
  6036.     or use the included RAINBOW.CNF configuration file.
  6037.  
  6038. 2.  The add-comments menu uses a different set of keys, which are
  6039.     shown  in the menu.  Keyboard macros are triggered by COMPOSE
  6040.     CHARACTER or F20 followed by a letter rather than Alt-letter.
  6041.     For hardware reasons, the  COMPOSE key can only be  used as a
  6042.     function  key  on a  100A,  so  I have  dropped  it from  the
  6043.     on-screen menus.
  6044.  
  6045. 3.  Use the CANCEL key rather than the ESCAPE key  to cancel com-
  6046.     mands.   If the  screen gets messed  up, the MAIN  SCREEN key
  6047.     forces a screen reset the next time the screen is cleared.
  6048.  
  6049. 4.  HELP, F19 and F4 substitute for Alt-F1, END and control-END.
  6050.  
  6051. 5.  Line editing  uses the delete  key rather than  the backspace
  6052.     key (actually either can be used).
  6053.  
  6054. 6.  The version number has an "R" appended.  A database stored on
  6055.     disk will be one byte longer, but  readable by an IBM version
  6056.     of the program (assuming  you can get around disk  format in-
  6057.     compatibilities).
  6058.  
  6059. 7.  The cut-and-paste program CUTPAST3 doesn't work on a Rainbow.
  6060.     I instead include  RNP.COM, but it is  not really equivalent.
  6061.     VIEW.COM doesn't work either, and I do not  know of an alter-
  6062.     native viewer.
  6063.  
  6064.  
  6065.  
  6066. Wssindex 5.25                   85                     Appendix G
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076.  
  6077.  
  6078.  
  6079.             Appendix H - WSSINDEX for TI Professional
  6080.  
  6081. I now own a minimally  configured TI Pro for testing, so  Pro and
  6082. IBM releases should be roughly coincident.
  6083.  
  6084. The  Texas Instruments  Professional computer  does not  have IBM
  6085. compatible video, so the standard version cannot run using direct
  6086. video writes.   Also, there is  a bug in the  TI ANSI.SYS support
  6087. which prevents color selection from working properly.  Patches to
  6088. fix this are available, but they depend  on the DOS version being
  6089. used.   They should not  be necessary if direct  video writes are
  6090. enabled.  (While  I have some of  the patch files, I  do not have
  6091. one for the version of DOS which came with my TI Pro.  However, a
  6092. user verifies  that color selection  works properly in  DOS calls
  6093. mode.)
  6094.  
  6095. The major difference  in the TI  Pro version is  that the  screen
  6096. output  routines know how to  access the TI  video hardware.  Ad-
  6097. justments are also  made for IBM  keys not found  on the TI  key-
  6098. board.
  6099.  
  6100. The built-in default colors are not appropriate for the TI Pro; I
  6101. suggest  using the included TI.CNF  file as a  starting point for
  6102. configuring.   Set WSSDISP=V  for fast screen  updating by direct
  6103. video writes.
  6104.  
  6105.  
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.  
  6112.  
  6113.  
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128.  
  6129.  
  6130.  
  6131.  
  6132. Wssindex 5.25                   86                     Appendix H
  6133.  
  6134.  
  6135.  
  6136.  
  6137.  
  6138.  
  6139.  
  6140.  
  6141.  
  6142.  
  6143.  
  6144.  
  6145.          Appendix I - Parameters for setting screen sizes
  6146.  
  6147. Video board BIOS's often  support text modes beyond the  usual 80
  6148. columns    25 rows.   Unfortunately, there are  few standards for
  6149. selecting  these modes.  In  particular, the modes  wider than 80
  6150. columns,  which can be very  useful when viewing  a database with
  6151. comments,  cannot be set without knowing what brand of video card
  6152. is in use.  The table below lists the AX values which need  to be
  6153. entered into the Video Board Configuration menu and the resulting
  6154. screen sizes.  (BX value is also listed for the Vega VGA.)  Modes
  6155. are color unless specified as mono.  Available modes  may be lim-
  6156. ited by the amount of video memory on your board, or by the capa-
  6157. bilities of your monitor.  If your board is not listed here, your
  6158. manual may include the  necessary information.  Note that  the AX
  6159. value listed  here is decimal  and the  selected mode must  be an
  6160. alpha mode, not a graphics mode.
  6161.  
  6162. The  first 5  entries should  work with  almost any  video board.
  6163. AX=2,3 or 7 is usually what you want to set when exiting or push-
  6164. ing to DOS.
  6165.  
  6166. Board     AX    Screen size       Board     AX    Screen size
  6167.  
  6168. CGA (or    2    80x25  mono       AT&T      84    132x43
  6169.   higher)  3    80x25               VDC600  85    132x25
  6170. MDA        7    80x25  mono                 86    132x43 2-color
  6171. EGA     4370    80x43                       87    132x25 2-color
  6172. VGA     4370    80x50
  6173.  
  6174. 2-the-Max 34    132x44 2-color    ATI EGA   35    132x25
  6175.   VGA     36    132x28 2-color      Wonder  39    132x25 mono
  6176.           37    132x25 2-color              51    132x44
  6177.           38    80x60  2-color              55    132x44 mono
  6178.           42    100x40 2-color              88    80x33
  6179.  
  6180. Ahead Sys 34    132x44            ATI VIP   35    132x25
  6181.   EGA2001 35    132x25                      39    132x25 mono
  6182.           80    132x25 mono                 51    132x44
  6183.           82    132x44 mono                 55    132x44 mono
  6184.                                             85    80x66
  6185. Allstar   34    132x43                      88    80x33
  6186.   Peacock 35    132x28                      89    80x66
  6187.           36    132x25
  6188.           38    80x60             ATI VGA   51    132x44
  6189.           42    100x40              Wonder  35    132x25
  6190.                                             55    132x44 mono
  6191. AST VGA   84    132x43                      39    132x25 mono
  6192.   Plus    85    132x25
  6193.                                   Hewlett-  84    132x43
  6194.                                     Packard 85    132x25
  6195.                                     D1180A
  6196.  
  6197.  
  6198. Wssindex 5.25                   87                     Appendix I
  6199.  
  6200.  
  6201.  
  6202.  
  6203.  
  6204.  
  6205.  
  6206.  
  6207.  
  6208.  
  6209.  
  6210.  
  6211. Board     AX    Screen size       Board     AX    Screen size
  6212.  
  6213. Lava      80    80x34             Tseng     24    132x44 mono
  6214.   Chrome  81    80x30               Labs    25    132x25 mono
  6215.   II EGA  82    80x60               EVA     26    132x28 mono
  6216.           83    132x43                      34    132x44
  6217.           84    132x25                      35    132x25
  6218.                                             36    132x28
  6219. NSI Smart 86    132x43                      38    80x60
  6220.   EGA+    87    132x25
  6221.                                   VEGA VGA  BX    AX=28421
  6222. Paradise  81    80x30                       64    80x43
  6223.   EGA-480 84    132x43                      65    132x25
  6224.           85    132x25                      66    132x43
  6225.                                             67    80x60
  6226. Paradise  84    132x43                      68    100x60
  6227.   VGA     85    132x25                      77    120x25
  6228.           86    132x43                      78    120x43
  6229.           87    132x25                      79    132x25
  6230.                                             80    80x43  mono
  6231. Tatung    64    80x43                       81    132x25 mono
  6232.   VGA     65    132x25                      82    132x43 mono
  6233.           66    132x43
  6234.           67    80x60             Video 7   64    80x43
  6235.           68    100x60              V-RAM   65    132x25
  6236.           69    132x28                      66    132x43
  6237.                                             67    80x60
  6238. Taxan 565 84    132x43                      68    100x60
  6239.   EGA     85    132x25                      69    132x28
  6240.           86    132x43 mono
  6241.           87    132x25 mono
  6242.  
  6243. Tecmar    23    132x25
  6244.   VGA/AD  64    80x43
  6245.  
  6246.  
  6247.  
  6248.  
  6249.  
  6250.  
  6251.  
  6252.  
  6253.  
  6254.  
  6255.  
  6256.  
  6257.  
  6258.  
  6259.  
  6260.  
  6261.  
  6262.  
  6263.  
  6264. Wssindex 5.25                   88                     Appendix I
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  
  6271.